Determine the relative strength of a stock vis-a-vis a larger benchmark. Default is NIFTY50.
Key Features: Sector Mapping: The script identifies the stock's sector using predefined arrays for sector stocks (e.g., healthcareStocks, energyStocks). It maps the stock to its sector index, like NSE:CNXIT for IT stocks. Relative Strength Calculation: The RS is calculated by comparing the stock's price movements with its sector index or the default index. Customizable Options: Period (length) for RS calculation. Display options like zero line, reference labels, trend color, etc. Visual Enhancements: Trend colors for RS crossovers. Option to show moving averages of RS or price for confirmation.
note:- original author bharatTrader original script :
Determine the relative strength of a stock vis-a-vis a larger benchmark. Default is NIFTY50.
Key Features: Sector Mapping: The script identifies the stock's sector using predefined arrays for sector stocks (e.g., healthcareStocks, energyStocks). It maps the stock to its sector index, like NSE:CNXIT for IT stocks. Relative Strength Calculation: The RS is calculated by comparing the stock's price movements with its sector index or the default index. Customizable Options: Period (length) for RS calculation. Display options like zero line, reference labels, trend color, etc. Visual Enhancements: Trend colors for RS crossovers. Option to show moving averages of RS or price for confirmation.
note:- original author bharatTrader original script :
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.