OPEN-SOURCE SCRIPT
EMA Alignment Buy Signal

EMA Alignment Buy Signal
This indicator identifies bullish trend alignment using four exponential moving averages: 9 EMA, 20 EMA, 50 EMA, and 200 EMA.
A BUY signal is generated when the full candle is positioned above the 9 EMA and the moving averages are aligned in bullish order:
Low > 9 EMA > 20 EMA > 50 EMA > 200 EMA
This means the candle’s low must be above the 9 EMA, confirming that the entire candle is trading above the fastest EMA. The signal only appears when the condition first becomes true, helping reduce repeated signals during the same trend continuation.
The indicator plots all four EMAs directly on the chart and displays a BUY label below the candle when the bullish alignment condition is met.
Works on the chart timeframe you select. For example, on a 5-minute chart it uses 5-minute EMA values, and on a 1-hour chart it uses 1-hour EMA values.
Included:
BUY condition:
Candle Low > 9 EMA > 20 EMA > 50 EMA > 200 EMA
This indicator identifies bullish trend alignment using four exponential moving averages: 9 EMA, 20 EMA, 50 EMA, and 200 EMA.
A BUY signal is generated when the full candle is positioned above the 9 EMA and the moving averages are aligned in bullish order:
Low > 9 EMA > 20 EMA > 50 EMA > 200 EMA
This means the candle’s low must be above the 9 EMA, confirming that the entire candle is trading above the fastest EMA. The signal only appears when the condition first becomes true, helping reduce repeated signals during the same trend continuation.
The indicator plots all four EMAs directly on the chart and displays a BUY label below the candle when the bullish alignment condition is met.
Works on the chart timeframe you select. For example, on a 5-minute chart it uses 5-minute EMA values, and on a 1-hour chart it uses 1-hour EMA values.
Included:
- 9 EMA
- 20 EMA
- 50 EMA
- 200 EMA
- BUY signal label
- Alert condition for BUY signals
BUY condition:
Candle Low > 9 EMA > 20 EMA > 50 EMA > 200 EMA
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน