OPEN-SOURCE SCRIPT

Traffic Light MA — Trend Indicator

72
This script displays a simple “traffic light” circle that reflects the market trend based on two moving averages (MA).

-Green: Price > Fast MA > Slow MA → Uptrend confirmation
-Yellow: Mixed conditions (transition zone)
-Red: Slow MA > Fast MA > Price → Downtrend confirmation

You can customize:
-MA type (SMA or EMA)
-Lengths of both MAs
-Timeframe used for evaluation (e.g. Daily, 4H, Weekly)

This tool is designed for traders who prefer a minimalistic chart, showing only a clean color signal instead of multiple lines.

Recommendation:
For small MAs (8,15,21) use EMA, for big MAs (50,100,200) use SMA

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.