PROTECTED SOURCE SCRIPT

EMA Crossover Signals with filters

24
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)



Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.