Specification
I'm looking for a skilled MQL4 developer to create both an Expert Advisor (EA) and a Custom Indicator based on my Elite Sniper Strategy. The solution is for MetaTrader 4, not MT5.
Strategy Rules:
1. Trend Direction Confirmation
-
Price must be above (for buys) or below (for sells) the 200 EMA on the current timeframe.
-
The D1 (daily) EMA must match the direction (e.g., both trending up for buys).
2. Momentum Confirmation
-
ADX > 25 on the current timeframe.
-
ADX must be rising (i.e., current ADX > previous ADX).
-
D1 ADX > 25 confirms momentum on the higher time frame.
3. Price Action Confirmation
-
Candle must close beyond recent swing high or low (breakout).
-
Candle must have a strong body (body ≥ 50% of full candle range).
-
There must be no inside bars in the last 3 candles.
4. Volatility Confirmation
-
Volume spike: current volume > 1.2× 5-bar moving average volume.
-
Candle range must be ≥ 70% of ATR(14).
5. Trend Slope Confirmation
-
The 200 EMA must be sloped in the direction of the trade (upward for buys, downward for sells).
6. Time Filter
-
Only allow trades between 03:00 and 17:00 (chart/broker time).
-
Optional: Only allow trades on the top of the hour or every 15 minutes (toggle setting).
7. Visuals and Alerts
-
On a valid signal, draw an arrow or rectangle on the signal candle.
-
Send push notification and/or pop-up alert with this breakdown:
OPEN TRADE - BUY on GBP/USD
ADX: 27.34 (rising: true)
HTF ADX: 29.12
HTF Trend: UP
EMA Slope: UP
Breakout: YES
Strong Body: YES
Volume Spike: YES
ATR OK: YES
No Inside Bar: YES
Expert Advisor Features:
-
Use the above conditions to trigger trades automatically.
-
User-defined input settings (lot size, SL, TP, max spread, session hours).
-
SL and TP calculated in pips.
-
Option to disable auto-trading and use it as a signal-only EA.
Indicator Features:
-
Same logic, but only marks valid setups visually with arrows/rectangles.
-
Includes alert notifications (push, sound, email optional).
-
Toggle which confirmations to display.