OPEN-SOURCE SCRIPT

Traffic Light MA — Trend Indicator

66
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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。