Comparative Relative Strength of a stock

- version 5
- Added color code for CRS moving average
A color-based trend on the Ratio moving average. The trend lookback is configurable.
- Possible to plot candles, of ratio chart, instead of line chart only.
- CRS Score: The number of consecutive bars, when the trend of the relative strength is increasing/decreasing. If CRS is falling, score will be negative, if rising, score will be positive and 0 if it is neither positive nor negative (blue)
- CRS Pattern: The pattern of the last 23 (default) bars for the CRS Trend.
If say, the CRS Pattern is RRRRRRRRRSSGG - It means that after 11 bars, the strength is now positive for last 2 bars. This is a good way to visualise a turn around in relative strength of the stock. Higher the number of opposite trend the greater that chance of the reversal.
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.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
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.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.