The indicator displays support and resistance levels based on volume and the Relative Strength Index (RSI).
Variable and Input Assignment:
lookback: Determines the period for data lookback. RsiVisible, RsilabelSize, OversoldForRsi, OverboughtForRsi: Various inputs to adjust RSI indicator parameters. Indicator Calculation:
highestVol: Finds the highest volume within a certain period. Rsi: Calculates the RSI value with a period of 14. roc: Calculates the Rate of Change. Support and Resistance Level Determination:
Uses a comparison between price change (roc) and RSI value to determine whether the price is rising or falling. If the price is rising and the current volume is greater than the previous highest volume, a new resistance level is established. If the price is falling and the current volume is greater than the previous highest volume, a new support level is established. Support and Resistance Lines:
Creates lines indicating the latest support and resistance levels. These lines are updated whenever there is a change in support or resistance levels. RSI Labels:
Displays the RSI value above or below the price chart depending on whether the RSI is above or below the overbought or oversold levels. If the RSI value is above the overbought level, the label is displayed above the price. If the RSI value is below the oversold level, the label is displayed below the price. Labels are removed if the corresponding conditions are not met. Additional RSI Label:
Adds an additional label displaying the RSI value next to the price chart on the last bar. The main purpose of this script is to assist traders in identifying support and resistance levels based on price movement, volume, and the RSI indicator. Thus, traders can use this information to make better trading decisions.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.