OPEN-SOURCE SCRIPT
High/Low Day + RSI

High/Low Day + RSI
High/Low Day + RSI combines current and previous trading day extremes with a compact RSI display directly on the price chart. It provides a single view of the daily price range and momentum without requiring a separate oscillator pane.
FEATURES
• Current Day High and Low: Green and red horizontal lines track the highest and lowest prices reached during the current trading day. These levels update as the daily range expands.
• Previous Day Levels: PHD (Previous High Day) and PLD (Previous Low Day) display the previous trading day’s high and low. These levels remain fixed throughout the current day.
• On-Chart RSI: A vertical gauge appears to the right of the latest candle, showing the current RSI value and a colored diamond marker.
• Customizable Display: Show or hide the current day levels, previous day levels, and RSI independently. Choose solid, dashed, or dotted horizontal lines, customize previous day level colors, and adjust the RSI period and reference levels.
HOW THE RSI DISPLAY WORKS
RSI is calculated from closing prices on the chart’s selected timeframe, using a default period of 14.
The gauge maps the RSI scale onto the current day’s price range: RSI 0 corresponds to the daily low, and RSI 100 corresponds to the daily high. This mapping is only a visual placement method; it does not change the RSI calculation or represent a price target.
The default reference levels are 80, 50, and 20.
With the default settings, the marker colors are:
• Purple: RSI at or above 80.
• Red: RSI at or above 70 and below 80.
• Blue: RSI above 30 and below 70.
• Green: RSI above 20 and at or below 30.
• Orange: RSI at or below 20.
The outer color thresholds follow the configurable upper and lower levels. The additional 70 and 30 thresholds are fixed in the code.
HOW TO USE
1. Add the indicator to an intraday chart.
2. Use High Day and Low Day to follow the developing daily range.
3. Use PHD and PLD as reference levels when observing how price interacts with the previous trading day’s extremes.
4. Read the RSI gauge to assess momentum alongside those price levels. The middle reference defaults to 50, while the upper and lower references highlight elevated and depressed RSI readings.
5. Adjust visibility, line styles, colors, and RSI settings to suit your chart layout. Leave space to the right of the latest candle so the gauge remains visible.
CALCULATION AND BEHAVIOR
Daily levels are calculated from the bars available on the chart and reset when the script detects a new daily period. Day boundaries follow the symbol’s daily periods, rather than a custom session defined by this indicator. Chart session settings and available history can therefore affect the displayed range.
The current day’s high, low, and RSI can change while the market is active. Previous day levels are carried forward from the completed daily range tracked by the script.
The indicator is designed primarily for intraday charts. It displays the latest daily levels and current RSI gauge rather than preserving a historical set of daily lines.
This is a visual analysis indicator. It does not generate automated buy or sell signals, execute trades, include a backtesting strategy, or define alert conditions. Extreme RSI readings alone do not confirm a reversal.
High/Low Day + RSI combines current and previous trading day extremes with a compact RSI display directly on the price chart. It provides a single view of the daily price range and momentum without requiring a separate oscillator pane.
FEATURES
• Current Day High and Low: Green and red horizontal lines track the highest and lowest prices reached during the current trading day. These levels update as the daily range expands.
• Previous Day Levels: PHD (Previous High Day) and PLD (Previous Low Day) display the previous trading day’s high and low. These levels remain fixed throughout the current day.
• On-Chart RSI: A vertical gauge appears to the right of the latest candle, showing the current RSI value and a colored diamond marker.
• Customizable Display: Show or hide the current day levels, previous day levels, and RSI independently. Choose solid, dashed, or dotted horizontal lines, customize previous day level colors, and adjust the RSI period and reference levels.
HOW THE RSI DISPLAY WORKS
RSI is calculated from closing prices on the chart’s selected timeframe, using a default period of 14.
The gauge maps the RSI scale onto the current day’s price range: RSI 0 corresponds to the daily low, and RSI 100 corresponds to the daily high. This mapping is only a visual placement method; it does not change the RSI calculation or represent a price target.
The default reference levels are 80, 50, and 20.
With the default settings, the marker colors are:
• Purple: RSI at or above 80.
• Red: RSI at or above 70 and below 80.
• Blue: RSI above 30 and below 70.
• Green: RSI above 20 and at or below 30.
• Orange: RSI at or below 20.
The outer color thresholds follow the configurable upper and lower levels. The additional 70 and 30 thresholds are fixed in the code.
HOW TO USE
1. Add the indicator to an intraday chart.
2. Use High Day and Low Day to follow the developing daily range.
3. Use PHD and PLD as reference levels when observing how price interacts with the previous trading day’s extremes.
4. Read the RSI gauge to assess momentum alongside those price levels. The middle reference defaults to 50, while the upper and lower references highlight elevated and depressed RSI readings.
5. Adjust visibility, line styles, colors, and RSI settings to suit your chart layout. Leave space to the right of the latest candle so the gauge remains visible.
CALCULATION AND BEHAVIOR
Daily levels are calculated from the bars available on the chart and reset when the script detects a new daily period. Day boundaries follow the symbol’s daily periods, rather than a custom session defined by this indicator. Chart session settings and available history can therefore affect the displayed range.
The current day’s high, low, and RSI can change while the market is active. Previous day levels are carried forward from the completed daily range tracked by the script.
The indicator is designed primarily for intraday charts. It displays the latest daily levels and current RSI gauge rather than preserving a historical set of daily lines.
This is a visual analysis indicator. It does not generate automated buy or sell signals, execute trades, include a backtesting strategy, or define alert conditions. Extreme RSI readings alone do not confirm a reversal.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.