TradingCharts
IndicatorInvite-onlyv1

Near & Far Relative Strength Indicator

What it does

The Near & Far Relative Strength Indicator shows whether a stock is outperforming the Nifty, over two time frames, in one pane. Near Relative Strength (NRS, blue) compares the stock with the Nifty over the last 123 sessions, about six months. Far Relative Strength (FRS, purple) compares it with the Nifty since a fixed reference date, 10 May 2024 by default. A reading above the red zero line means the stock has beaten the index over that period, and below zero means it has lagged. When both lines are above zero, the stock is outperforming the market in both the near and the long term. Labels show each line's latest value and the reference date it's measured from, and alerts can notify you when either line crosses zero. It's an educational chart-reading aid, not a buy or sell recommendation.

How to use it

  • Open the charts and go to Indicators › My scripts › Shared with me (or search the Community library) and press Add to chart.
  • The code is protected by the author: the script runs on the chart with the source hidden.
  • Invite-only: only members the author authorised can run it.

Version history

  • v1 — 27 Nov, 03:22 pm · compiler 0.3.70

#relative-strength#relative#strength#rs#nrs#frs#zero-line