OPEN-SOURCE SCRIPT
Mis à jour

Comparative Relative Strength of a stock

17951
Perform comparative relative strength of a stock. Default base is NIFTY 50.
Notes de version
Cosmetic changes to make the display pretty and input choices in more logical sequence.
Notes de version
Added input as source. Some cosmetic changes.
Notes de version
  • version 5
  • Added color code for CRS moving average

A color-based trend on the Ratio moving average. The trend lookback is configurable.
Notes de version
  • Possible to plot candles, of ratio chart, instead of line chart only.
Notes de version
Updated to include a "CRS Score" and "CRS Pattern"
  • 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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.