PROTECTED SOURCE SCRIPT
Relative Strength

Compares a stock’s price to a chosen index (e.g., NIFTY, SPX, CNX500) to calculate Relative Strength (RS).
Plots RS as a line with customizable colors for rising (bullish) or falling (bearish) trends.
Includes a moving average (Simple, Exponential, or Weighted) to smooth the RS line.
Highlights new RS highs/lows with green/red dots for quick trend spotting.
Customizable Inputs: Choose index (e.g., NSE:NIFTYMIDSML400), period (default 66), scaling factor (default 15), and MA type/period.
Visuals: Color-coded RS line (blue by default) and filled ribbon (green for RS > MA, red for RS < MA).
Signals: Marks new RS highs (green dots) and lows (orange dots) over a user-defined lookback period.
Why use it?
Helps identify stocks gaining momentum vs. the market, perfect for swing traders and investors looking for breakout opportunities.
Plots RS as a line with customizable colors for rising (bullish) or falling (bearish) trends.
Includes a moving average (Simple, Exponential, or Weighted) to smooth the RS line.
Highlights new RS highs/lows with green/red dots for quick trend spotting.
Customizable Inputs: Choose index (e.g., NSE:NIFTYMIDSML400), period (default 66), scaling factor (default 15), and MA type/period.
Visuals: Color-coded RS line (blue by default) and filled ribbon (green for RS > MA, red for RS < MA).
Signals: Marks new RS highs (green dots) and lows (orange dots) over a user-defined lookback period.
Why use it?
Helps identify stocks gaining momentum vs. the market, perfect for swing traders and investors looking for breakout opportunities.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน