OPEN-SOURCE SCRIPT

Traffic Light MA — Trend Indicator

173
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

כתב ויתור

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.