OPEN-SOURCE SCRIPT

Relative Strength NSE:Nifty for TF Community

nithinLearns의
업데이트됨
This is a modified version of the Relative Strength Indicator (No confusion with RSI) originally by in.tradingview.com/u/modhelius/ based on in.tradingview.com/script/A4WyMCKM-Relative-Strength/. The indicator calculates the relative strength between a selected stock and a comparative symbol (typically a market index like NSE:NIFTY).

Relative strength (RS) compares the performance of two assets, typically a stock and a market index, by dividing their percentage changes over a specific period. This indicator oscillates around zero:
- Greater than 0: Indicates the stock has outperformed the comparative symbol.
- Less than 0: Indicates the stock has underperformed the comparative symbol.

Key Enhancements:

This Relative Strength Indicator offers practical features to automatically adjusts the comparison period based on the chart’s timeframe, whether daily, weekly, or monthly, so you don’t have to make manual changes.

Secondly, if the selected stock has fewer bars than the comparison period, the indicator uses the shorter period to ensure accurate results. The default colors are hardcoded so they look fine for both dark and white themes, but of course can be changed.

You can customise the settings to fit your needs. The default period is set to 50/52, and the comparative symbol is NSE:NIFTY, but both can be changed. There’s also an option to toggle a moving average on or off, providing a smoother visual representation.
릴리즈 노트
Change the SMA to EMA as per TF Community recommendation - Exponential MA is better than Simple MA.
릴리즈 노트
Chart changed to simple one.
multitimeframeRelative Strength Comparison

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항