Hello everyone,
I created an EA using a builder (I have almost zero experience on coding)
This EA is based on EMA Crossover and ADX, ADX is used to filter sideway market, it also has martingale option that can be turned off (just set MM_Martingale_Loss_Factor to 1)
The rules are very simple and basic
Buy Rules :
- Fast EMA cross above slow EMA
- ADX value is adove certain number (25 by default)
Sell Rules : - Fast EMA cross below slow EMA
- ADX value is adove certain number (25 by default)
Exit Rules :
- Fast EMA cross below slow EMA for buy and vice cersa for sell
- TP is ATR x TP_Multiplier
- SL is ATR x SL_Multiplier
Additional rules :
- Fast_MA period must be smaller than Slow_MA period
- TP_Multiplier must be greater than SL Multiplier
The EA can be backtested with “Open Price” model.
Here is the backtest graph for EURUSD H1 set file
And this is for M30 set file
The EA should be optimized first before use, and again be aware because it also has martingale option that can be turned off (just set MM_Martingale_Loss_Factor to 1)
The backtest result, the EA file and set file for EURUSD H1 are attached below
EA 20230108.zip (123.4 KB)
Hope you’ll find it useful.
Best regards.