OPEN-SOURCE SCRIPT
RS Rating Trailing Strategy

How It Works:
StageActionEntryBuy when RS Rating crosses above 80TrackingTrack the highest RS Rating while in positionExitSell when RS Rating drops 5 points below the high
Example:
RS Rating crosses from 79 to 81 → BUY
RS Rating climbs to 85 → High RS = 85, Stop = 80
RS Rating climbs to 95 → High RS = 95, Stop = 90
RS Rating drops to 92 → Still holding (above 90 stop)
RS Rating drops to 90 → SELL (hit trailing stop)
Settings:
SettingDefaultDescriptionRS Entry Level80Buy when RS crosses above thisRS Trailing Drop5.0Sell when RS drops this many points from highBenchmark IndexSP:SPXIndex for RS calculation
Table Shows:
Current RS Rating
Position status (LONG/FLAT)
Entry RS (what RS was when you bought)
High RS (highest RS since entry)
Stop RS (current trailing stop level)
Cushion (how far above stop you are)
The cushion turns orange when close to stop, red when very close.
StageActionEntryBuy when RS Rating crosses above 80TrackingTrack the highest RS Rating while in positionExitSell when RS Rating drops 5 points below the high
Example:
RS Rating crosses from 79 to 81 → BUY
RS Rating climbs to 85 → High RS = 85, Stop = 80
RS Rating climbs to 95 → High RS = 95, Stop = 90
RS Rating drops to 92 → Still holding (above 90 stop)
RS Rating drops to 90 → SELL (hit trailing stop)
Settings:
SettingDefaultDescriptionRS Entry Level80Buy when RS crosses above thisRS Trailing Drop5.0Sell when RS drops this many points from highBenchmark IndexSP:SPXIndex for RS calculation
Table Shows:
Current RS Rating
Position status (LONG/FLAT)
Entry RS (what RS was when you bought)
High RS (highest RS since entry)
Stop RS (current trailing stop level)
Cushion (how far above stop you are)
The cushion turns orange when close to stop, red when very close.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.