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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.