OPEN-SOURCE SCRIPT

SuperTrend + 50/200 SMA By Vicky Mehta

100
Supertrend + Dual Supertrend + 50/200 SMA

This indicator combines two Supertrend indicators with 50 SMA and 200 SMA to help identify trend direction, momentum, and long-term market structure.

Features

• Supertrend (2,2) – Fast trend detection for early trend changes.

• Supertrend (7,3) – Slower trend confirmation to filter market noise.

• Individual On/Off toggle for each Supertrend.

• Automatic BUY and SELL labels based on the primary Supertrend reversal.

• 50 SMA for intermediate trend direction.

• 200 SMA for long-term trend identification.

• Golden Cross and Death Cross signals.

• Optional trend background coloring.

• Built-in TradingView alerts for:

Supertrend BUY
Supertrend SELL
Golden Cross
Death Cross
Typical Usage
Use the (2,2) Supertrend for quicker entries and exits.
Use the (7,3) Supertrend as a higher-confidence trend filter.
When both Supertrends align in the same direction, the trend is generally stronger.
Use the 50 SMA and 200 SMA to identify the broader market trend and key support/resistance areas.
Default Settings
Supertrend 1: ATR Length = 2, Multiplier = 2
Supertrend 2: ATR Length = 7, Multiplier = 3
SMA 50
SMA 200
Disclaimer

This indicator is intended for educational and analytical purposes only. It does not provide investment advice or guarantee trading outcomes. Always validate signals using your own trading plan, risk management rules, and additional market analysis before making any trading decisions.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.