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
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.