OPEN-SOURCE SCRIPT
已更新 Previous Week & Day High/Low

Previous Week & Day High/Low Indicator
The Previous Week & Day High/Low Indicator is designed to provide traders with key support and resistance levels based on historical price data. It automatically plots the previous day's and previous week's highs and lows as horizontal lines, offering a clear visual reference for potential breakout or reversal zones.
Features:
Clear Visual Levels: Displays previous day's highs and lows in green and red for easy identification.
Weekly Context: Plots previous week's highs and lows using distinct color-coded lines.
Real-Time Updates: Adjusts to new weekly and daily highs and lows as they are confirmed.
Labeled Lines: Each level is labeled directly on the chart, ensuring clarity without clutter.
The Previous Week & Day High/Low Indicator is designed to provide traders with key support and resistance levels based on historical price data. It automatically plots the previous day's and previous week's highs and lows as horizontal lines, offering a clear visual reference for potential breakout or reversal zones.
Features:
Clear Visual Levels: Displays previous day's highs and lows in green and red for easy identification.
Weekly Context: Plots previous week's highs and lows using distinct color-coded lines.
Real-Time Updates: Adjusts to new weekly and daily highs and lows as they are confirmed.
Labeled Lines: Each level is labeled directly on the chart, ensuring clarity without clutter.
版本注释
Market Maker LevelsOverview:
Market Maker Levels is a powerful indicator designed to highlight the key price levels where institutional activity often leaves its mark. By plotting the previous week's and previous day's highs and lows, this tool provides traders with clear visual references for significant support and resistance zones.
Features:
Institutional Insight: Track key levels often used by market makers to manage liquidity.
Dynamic Range Identification: See how price interacts with past highs and lows.
Visual Clarity: Clearly labeled lines with extended visibility for easy decision-making.
Customizable: Adjust line colors, styles, and label sizes to suit your preferences.
How to Use:
Support and Resistance: Market makers often defend key levels. Use these lines to identify strong areas of support and resistance.
Breakout Confirmation: Watch for price breaking through previous highs or lows with momentum.
Reversals and Range Trading: Use the levels to anticipate possible reversals or continuation patterns.
Confluence Zones: Combine with other indicators like VWAP, RSI, or Moving Averages for higher probability trades.
Best For:
Day traders and swing traders looking to identify institutional zones.
Traders using price action or breakout strategies.
Market participants seeking cleaner, more effective chart analysis.
Pro Tip:
Market makers frequently manipulate price near these levels to induce liquidity. Be cautious of false breakouts and wait for confirmation.
Take control of your trading decisions with Market Maker Levels — the institutional insight tool you need to navigate the markets like a pro!
版本注释
✅ Touch Alerts (When Price Hits a Level)1. Previous Day High:
• Triggers when the current price touches the previous day’s high.
2. Previous Day Low:
• Triggers when the current price touches the previous day’s low.
3. Previous Week High:
• Triggers when the current price touches the previous week’s high.
4. Previous Week Low:
• Triggers when the current price touches the previous week’s low.
🚀 Breakout Alerts (When Price Breaks a Level)
1. Break Above Previous Day High:
• Triggers when the price closes above the previous day’s high.
2. Break Below Previous Day Low:
• Triggers when the price closes below the previous day’s low.
3. Break Above Previous Week High:
• Triggers when the price closes above the previous week’s high.
4. Break Below Previous Week Low:
• Triggers when the price closes below the previous week’s low.
💡 How to Set Alerts in TradingView
1. After applying the indicator to your chart, go to the Alerts tab.
2. Click on Create Alert.
3. Select ‘Market Maker Levels with Alerts’ from the list of conditions.
4. Choose your desired alert message (e.g., “Price touched Previous Day High”).
5. Set how you’d like to be notified (e.g., popup, email, or mobile notification).
6. Confirm and click Create.
版本注释
Update to alerts.版本注释
Updated to detect same level for day/week high lows版本注释
offset labels to the right.版本注释
Fixed premature alerts.版本注释
Added price to levels.版本注释
Alert fix版本注释
Updates to Label, resets lines when session closes.版本注释
price to labels 开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。