OPEN-SOURCE SCRIPT

Traffic Light MA — Trend Indicator

65
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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน