OPEN-SOURCE SCRIPT

Supertrend0913

47
This Pine Script (`version=6`) combines **two Supertrend indicators** and a set of **moving averages (EMA & MA)** into one overlay chart tool for TradingView.

**Key features:**

* **Supertrend \[1] & \[2]:**

* Each has independent ATR period, multiplier, and ATR calculation method.
* Plots trend lines (green/red for \[1], blue/yellow for \[2]).
* Generates **buy/sell signals** when trend direction changes.
* Includes **alert conditions** for buy, sell, and trend reversals.

* **Moving Averages:**

* 6 EMAs (lengths 21, 55, 100, 200, 300, 400).
* 5 SMAs (lengths 11, 23, 25, 39, 200).
* Each plotted in different colors for trend visualization.

👉 In short: it’s a **combined trading tool** that overlays two configurable Supertrend systems with alerts plus multiple EMAs/SMAs to help identify trend direction, signals, and potential entry/exit points.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.