OPEN-SOURCE SCRIPT
Relative Strength Line by Quantx

The Relative Strength Line compares the price performance of a stock against a benchmark index (e.g., NIFTY, S&P 500, Bank Nifty, etc.).
It does not indicate momentum of the stock itself — it indicates whether the stock is outperforming or underperforming the market.
🔍 How To Read It
RSL Behavior Meaning
RSL moving up Stock is outperforming the benchmark (strong leadership)
RSL moving down Stock is underperforming the benchmark (weakness vs market)
RSL breaking above previous highs Strong institutional demand, leadership candidate
RSL trending sideways Stock is performing similar to the index (no leadership)
📈 Why It Matters
Institutional traders and top-performing strategies focus on stocks showing relative strength BEFORE price breakout.
A stock making new RSL highs even before a price breakout often becomes a top performer in the coming trend.
🧠 Core Trading Edge
You don’t need to predict the market.
Just identify which stocks are being accumulated and leading the market right now — that’s what the Relative Strength Line reveals.
It does not indicate momentum of the stock itself — it indicates whether the stock is outperforming or underperforming the market.
🔍 How To Read It
RSL Behavior Meaning
RSL moving up Stock is outperforming the benchmark (strong leadership)
RSL moving down Stock is underperforming the benchmark (weakness vs market)
RSL breaking above previous highs Strong institutional demand, leadership candidate
RSL trending sideways Stock is performing similar to the index (no leadership)
📈 Why It Matters
Institutional traders and top-performing strategies focus on stocks showing relative strength BEFORE price breakout.
A stock making new RSL highs even before a price breakout often becomes a top performer in the coming trend.
🧠 Core Trading Edge
You don’t need to predict the market.
Just identify which stocks are being accumulated and leading the market right now — that’s what the Relative Strength Line reveals.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.