PROTECTED SOURCE SCRIPT
RS by Equity Gurukul

This indicator plots the Relative Strength (RS) of the current symbol against a chosen benchmark (default: NSE:NIFTYMIDSML400). It also overlays a customizable Moving Average (MA) on the RS line for trend confirmation.
Key Features:
RS Line: Ratio of stock price vs. benchmark.
RS MA: Customizable Moving Average (default 21; choose SMA or EMA).
RS Phase Fill: Background shading highlights when RS is above its MA (outperformance) or below its MA (underperformance).
RS New High Detection: Marks points where RS makes a new high (within user-defined lookback) while price has not yet broken its own high → signaling potential early strength.
This tool helps visualize relative performance trends, identify emerging leaders, and spot early breakouts before they reflect in price.
⚠️ Disclaimer
This indicator is for educational purposes only and is not financial advice.
It is a research and practice tool designed to illustrate concepts of relative strength analysis. Please do your own due diligence and consult a licensed financial advisor before making any trading or investment decisions.
Key Features:
RS Line: Ratio of stock price vs. benchmark.
RS MA: Customizable Moving Average (default 21; choose SMA or EMA).
RS Phase Fill: Background shading highlights when RS is above its MA (outperformance) or below its MA (underperformance).
RS New High Detection: Marks points where RS makes a new high (within user-defined lookback) while price has not yet broken its own high → signaling potential early strength.
This tool helps visualize relative performance trends, identify emerging leaders, and spot early breakouts before they reflect in price.
⚠️ Disclaimer
This indicator is for educational purposes only and is not financial advice.
It is a research and practice tool designed to illustrate concepts of relative strength analysis. Please do your own due diligence and consult a licensed financial advisor before making any trading or investment decisions.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.