PROTECTED SOURCE SCRIPT
EMA Crossover Signals with filters

Core Strategy:
BUY Signal: When EMA 10 crosses above EMA 100
SELL Signal: When EMA 10 crosses below EMA 21
All signals displayed directly on the chart with labels
Built-in Filters (All Optional - Can Toggle On/Off):
1. Time Filter ⏰
Trade only during specific hours (e.g., 9:30 AM - 4:00 PM)
Prevents signals outside your preferred trading session
Format: HHMM-HHMM
2. Trend Filter (ADX) 📈
Blocks signals in choppy/sideways markets
Only allows trades when market is trending
ADX Threshold: Set minimum trend strength (default: 25)
Higher threshold = stronger trend required = fewer but better signals
3. Candle Pattern Confirmation 🕯️
Requires bullish candle for BUY signals
Requires bearish candle for SELL signals
Three strength levels:
Any: Just needs green/red candle
Moderate: Candle body ≥ 40% of range
Strong: Candle body ≥ 60% of range (filters weak/indecision candles)
BUY Signal: When EMA 10 crosses above EMA 100
SELL Signal: When EMA 10 crosses below EMA 21
All signals displayed directly on the chart with labels
Built-in Filters (All Optional - Can Toggle On/Off):
1. Time Filter ⏰
Trade only during specific hours (e.g., 9:30 AM - 4:00 PM)
Prevents signals outside your preferred trading session
Format: HHMM-HHMM
2. Trend Filter (ADX) 📈
Blocks signals in choppy/sideways markets
Only allows trades when market is trending
ADX Threshold: Set minimum trend strength (default: 25)
Higher threshold = stronger trend required = fewer but better signals
3. Candle Pattern Confirmation 🕯️
Requires bullish candle for BUY signals
Requires bearish candle for SELL signals
Three strength levels:
Any: Just needs green/red candle
Moderate: Candle body ≥ 40% of range
Strong: Candle body ≥ 60% of range (filters weak/indecision candles)
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.