OPEN-SOURCE SCRIPT
已更新 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
版本注释
Fixing name开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。