OPEN-SOURCE SCRIPT
Telah dikemas kini Equilibrium Price for Relative Strength

Plot of equilibrium price of Relative Strength.
Instead of the RS ratio, this is the plot of the price that will make the RS ratio equal to zero, we call this the equilibrium price.
About the equilibrium price plot:
- When the plot is below the symbol price plot, it means stock is performing above the benchmark
- When the plot is above the symbol price plot, it means stock is underperforming in comparison to the benchmark
- When the plot is close (or equal) to the symbol price plot, it means that RS is near the zero line, either crossing over or crossing below
The latest equilibrium is displayed over the plot. This gives a visual and quantitative idea of how far above or below the equilibrium price is in comparison to the current price.
In the above example, we see that HDFC Bank which was performing above the benchmark (trading above equilibrium price) whipsawed a lot (price near equilibrium price), before swaying down during the COVID-19 fall in the market (price is trading below the equilibrium price) . Currently, the equilibrium price is 1136, but HDFC Bank is trading below this price at 1033, around 100 points below.
Instead of the RS ratio, this is the plot of the price that will make the RS ratio equal to zero, we call this the equilibrium price.
About the equilibrium price plot:
- When the plot is below the symbol price plot, it means stock is performing above the benchmark
- When the plot is above the symbol price plot, it means stock is underperforming in comparison to the benchmark
- When the plot is close (or equal) to the symbol price plot, it means that RS is near the zero line, either crossing over or crossing below
The latest equilibrium is displayed over the plot. This gives a visual and quantitative idea of how far above or below the equilibrium price is in comparison to the current price.
In the above example, we see that HDFC Bank which was performing above the benchmark (trading above equilibrium price) whipsawed a lot (price near equilibrium price), before swaying down during the COVID-19 fall in the market (price is trading below the equilibrium price) . Currently, the equilibrium price is 1136, but HDFC Bank is trading below this price at 1033, around 100 points below.
Nota Keluaran
- Equilibrium Price, upto 2 places of decimal
- Minor typo fix
Nota Keluaran
NBWC Changes!: Please Read- Updated to Pinescript version 6
- Now added, ARS date picker
- Removed length, and replaced with manual override of ARS date
- Improved aesthetics
The indicator is now updated to avoid a re-paint, since addition of the ARS Date picker, ensures that the lengths for calculations are adjusted each day for previous days. If one still desires the old way (which is partially incorrect) use the manual override.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.