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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.