工作已完成
指定
I want an EA for MT5 with the following features / functionalities:
Buy Conditions:
1. Fast moving average crosses above the slow moving average
2. Signal candle (candle on which the crossover happens) should not be more than 2 ATR
Sell Conditions:
1. Fast moving average crosses below the slow moving average
2. Signal candle (candle on which the crossover happens) should not be more than 2 ATR
Input Parameters:
EA Start Date: DDMMYYYY (Start Time will be 01:01:00, by default)
EA Stop Date: DDMMYYYY (This is the last date on which the EA can take trades. After this, no trades can be taken...Only the open trades can be "managed"). E.g. If 31AUG2022 is EA Stop Date then from 01SEP, no new trades can be taken. Only the trades which are already open can be "managed" as per the exit plan mentioned in Take Profit section)
Direction: Buy/Sell/Both
Slow Moving Average Period
Fast Moving Average Period
Moving Average Type: EMA / SMA
Risk Per Trade (Base Trade): 0.3%
Stop Loss: 1 ATR above the entry price
Take Profit: This should happen in 3 parts: Part 1(35%) at 3R; Part 2 (35%) at 6R and once Part 2 is closed then the stop loss should be trailing (1 ATR above/below slow moving average) for Part 3
Close on opposite crossover: Yes/No (If this is NO, then upon opposite crossover, nothing should happen)
There can be only one buy and one sell trade at a time. No additional positions to be opened in the same direction.
(If ‘Both’ direction trade is selected and if "Close on opposite crossover" is NO then buy and sell trade will co-exist)