OPEN-SOURCE SCRIPT
Telah dikemas kini EMA Pro

EMA Pro
- Overview
EMA Signal Pro is a professional trend-following signal indicator built around the combination of EMA 200 breakout detection and EMA alignment confirmation.
Instead of generating signals from every price movement, the indicator waits for multiple conditions to align before issuing a trade signal. This approach helps filter out many low-probability setups and focuses on stronger trend continuation opportunities.
The indicator works independently on all TradingView timeframes, making it suitable for scalping, intraday trading, swing trading, and long-term investing.
-Signal Logic
LONG
A LONG (Buy) is generated only when all three conditions below are met simultaneously.
1️⃣ EMA 200 Bullish Breakout
The current candle must break above the EMA 200.
This means:
The previous candle closed below EMA 200.
The current candle closes above EMA 200.
This confirms that price has crossed the primary long-term trend line.
2️⃣ Bullish Candle Structure
The breakout candle must have:
Lower wick larger than the upper wick
This indicates rejection of lower prices and strong buying pressure during the breakout.
3️⃣ Bullish EMA Alignment
The exponential moving averages must be aligned as follows:
EMA 20 (Highest)
EMA 50
EMA 100
EMA 200 (Lowest)
This alignment confirms that short-, medium-, and long-term trends are all pointing in the same bullish direction.
SHORT
A SHORT (Sell) is generated only when all three conditions below are met simultaneously.
1️⃣ EMA 200 Bearish Breakout
The current candle must break below the EMA 200.
This means:
The previous candle closed above EMA 200.
The current candle closes below EMA 200.
2️⃣ Bearish Candle Structure
The breakout candle must have:
Upper wick larger than the lower wick
This indicates rejection of higher prices and strong selling pressure.
3️⃣ Bearish EMA Alignment
The EMAs must be aligned as follows:
EMA 200 (Highest)
EMA 100
EMA 50
EMA 20 (Lowest)
This confirms a strong bearish trend across multiple market horizons.
Only when all three conditions occur together will a SHORT signal be generated.
Moving Averages Used
EMA Period Purpose
EMA 20 20 Short-term trend
EMA 50 50 Medium-term trend
EMA 100 100 Medium-to-long-term trend
EMA 200 200 Primary long-term trend and breakout reference
-Customization
Display Options
Show or hide EMAs
Customize the color of each EMA individually
-Best Practices
Compatible with all TradingView timeframes, from 1-minute to Monthly charts.
Signals are generated only after candle close, preventing repainting during candle formation.
For optimal performance, combine this indicator with proper risk management and stop-loss placement.
The best results are typically achieved on higher timeframes, such as 1H, 4H, and Daily charts.
Designed primarily for trending markets. During sideways or ranging conditions, fewer signals are produced, helping reduce unnecessary trades.
© EMA Pro — All Rights Reserved
- Overview
EMA Signal Pro is a professional trend-following signal indicator built around the combination of EMA 200 breakout detection and EMA alignment confirmation.
Instead of generating signals from every price movement, the indicator waits for multiple conditions to align before issuing a trade signal. This approach helps filter out many low-probability setups and focuses on stronger trend continuation opportunities.
The indicator works independently on all TradingView timeframes, making it suitable for scalping, intraday trading, swing trading, and long-term investing.
-Signal Logic
LONG
A LONG (Buy) is generated only when all three conditions below are met simultaneously.
1️⃣ EMA 200 Bullish Breakout
The current candle must break above the EMA 200.
This means:
The previous candle closed below EMA 200.
The current candle closes above EMA 200.
This confirms that price has crossed the primary long-term trend line.
2️⃣ Bullish Candle Structure
The breakout candle must have:
Lower wick larger than the upper wick
This indicates rejection of lower prices and strong buying pressure during the breakout.
3️⃣ Bullish EMA Alignment
The exponential moving averages must be aligned as follows:
EMA 20 (Highest)
EMA 50
EMA 100
EMA 200 (Lowest)
This alignment confirms that short-, medium-, and long-term trends are all pointing in the same bullish direction.
SHORT
A SHORT (Sell) is generated only when all three conditions below are met simultaneously.
1️⃣ EMA 200 Bearish Breakout
The current candle must break below the EMA 200.
This means:
The previous candle closed above EMA 200.
The current candle closes below EMA 200.
2️⃣ Bearish Candle Structure
The breakout candle must have:
Upper wick larger than the lower wick
This indicates rejection of higher prices and strong selling pressure.
3️⃣ Bearish EMA Alignment
The EMAs must be aligned as follows:
EMA 200 (Highest)
EMA 100
EMA 50
EMA 20 (Lowest)
This confirms a strong bearish trend across multiple market horizons.
Only when all three conditions occur together will a SHORT signal be generated.
Moving Averages Used
EMA Period Purpose
EMA 20 20 Short-term trend
EMA 50 50 Medium-term trend
EMA 100 100 Medium-to-long-term trend
EMA 200 200 Primary long-term trend and breakout reference
-Customization
Display Options
Show or hide EMAs
Customize the color of each EMA individually
-Best Practices
Compatible with all TradingView timeframes, from 1-minute to Monthly charts.
Signals are generated only after candle close, preventing repainting during candle formation.
For optimal performance, combine this indicator with proper risk management and stop-loss placement.
The best results are typically achieved on higher timeframes, such as 1H, 4H, and Daily charts.
Designed primarily for trending markets. During sideways or ranging conditions, fewer signals are produced, helping reduce unnecessary trades.
© EMA Pro — All Rights Reserved
Nota Keluaran
Fixing nameSkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.