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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.