Job finished
Specification
Project Overview:
I am looking for an experienced MQL5 programmer to develop a scalping-based forex algorithm for MetaTrader 5. The strategy uses multi-timeframe EMA crossovers and is designed around psychological trading behavior, such as trend-following and belief-driven indicators.
This system must include fully adjustable parameters for timeframes, EMAs, ATR-based risk management, slope filters, breakeven settings, and trailing stops.
Core Strategy Logic:
🔹 Trade Entry Conditions
-
Entry triggered by EMA crossover on the 5-minute chart
-
Confirmation required from:
-
15-minute chart EMA crossover in the same direction
-
Daily chart EMA crossover in the same direction
-
-
All three must align before trade is placed
-
Timeframes and EMA lengths should be fully user-adjustable
Technical Inputs & Configurations
🔸 EMA Settings (Per Timeframe, 3 timeframes used)
-
Fast EMA
-
Slow EMA
-
Timeframe input (5M, 15M, 1D — fully customizable)
-
Trade placed on lowest timeframe
🔸 Slope Threshold Filter
-
Enable Slope Threshold? (Y/N) per timeframe
-
If YES: define Slope Threshold Level (e.g., 0.0003 for 5M, etc.)
-
Slope = (Current EMA – EMA N bars ago) / N
Risk Management (Per Trade - four trades in total)
✅ ATR-Based Take Profit & Stop Loss (if selected the ATR sets both the S/L and T/P level)
-
ATR Sets Levels? (Y/N)
-
ATR Period
-
ATR Multiplier
-
Equity % Risk input
-
✅ ATR as Stop Loss Only? (Y/N)
-
If YES:
-
SL = ATR * multiplier
-
TP can be based on either:
-
Equity %
-
Fixed pips
-
-
-
If NO:
-
TP and SL both configurable as:
-
Equity %
-
Fixed pips
-
-
Trailing Stop Options
-
Enable Trailing Stop? (Y/N)
-
Start trailing at:
-
ATR level OR
-
Fixed pip distance
-
-
Define trailing stop distance (pips)
-
Breakeven Settings (Per Trade)
-
Enable Breakeven? (Y/N)
-
Move SL to breakeven when:
-
Trade is X pips in profit (user-defined)
-
-
Optional: add buffer (e.g., +2 pips above entry)
-
Global Trade Exit Rule
-
All trades should close immediately if the 15-minute EMA crosses in the opposite direction of the open position.
Trade Capacity
-
Allow up to 4 simultaneous trades
-
Trades can have independent risk management settings
Ideal Candidate:
-
Experience coding complex multi-timeframe systems
-
Strong grasp of EMA logic, ATR, pip-based risk, and position management
-
Familiar with breakeven and trailing stop architecture in MQL5
-
Ability to deliver clean, well-documented code