OPEN-SOURCE SCRIPT
Stage 2 Trend Signals (10/21/50/200)

*Trend-following indicator designed to focus on **strong Stage 2 uptrends**, not bottom-fishing or chop.
* Plots **10 EMA, 21 EMA, 50 SMA, and 200 SMA** as core moving averages.
* Uses a **trend filter** so buy signals only occur when:
* Price is above the **50 SMA** (and optionally above the **200 SMA**), and
* The **50 SMA is above the 200 SMA**, reflecting classic Stage 2 alignment.
* Prints a **green “BUY” label** when the **10 EMA crosses above the 21 EMA** within this bullish environment, signaling momentum turning up in an established uptrend.
* Prints a **red “SELL” label** when the **10 EMA crosses below the 21 EMA** or when price is in a bearish context and closes below the 21 EMA, prompting risk reduction as trend/momentum weaken.
* Light **green background shading** highlights periods where the bullish Stage 2 conditions are active (“trend-on” zones).
* Works on **any timeframe**; commonly used on:
* **Weekly charts** for big-picture trend confirmation.
* **Daily charts** for swing entries, exits, and active trade management.
* Plots **10 EMA, 21 EMA, 50 SMA, and 200 SMA** as core moving averages.
* Uses a **trend filter** so buy signals only occur when:
* Price is above the **50 SMA** (and optionally above the **200 SMA**), and
* The **50 SMA is above the 200 SMA**, reflecting classic Stage 2 alignment.
* Prints a **green “BUY” label** when the **10 EMA crosses above the 21 EMA** within this bullish environment, signaling momentum turning up in an established uptrend.
* Prints a **red “SELL” label** when the **10 EMA crosses below the 21 EMA** or when price is in a bearish context and closes below the 21 EMA, prompting risk reduction as trend/momentum weaken.
* Light **green background shading** highlights periods where the bullish Stage 2 conditions are active (“trend-on” zones).
* Works on **any timeframe**; commonly used on:
* **Weekly charts** for big-picture trend confirmation.
* **Daily charts** for swing entries, exits, and active trade management.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.