工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Before bidding please read all the requirements carefully and be sure you can meet them during allocated time.
I have had negative experiences with beginner developers and I do not want to repeat
them!
MT4 EA
conditions to be fulfilled for the BUY order: (all conditions must be met)
1) the price over EMA 200
2) EMA14 higher than EMA 50
3) EMA 14 and EMA 40 over EMA 200 ( 2 condition )
4) Price over EMA 14
conditions to close BUY order: (any of the conditions)
1) Price under EMA 50, and EMA 14 under EMA 50 (2 condition)
or
2) Price under EMA 200
conditions to be fulfilled for the SEL order: (all conditions must be met)
1) The price under EMA 200
2) EMA 14 under EMA 50
3) EMA 14 and EMA 50 under EMA 200 (2 condition)
4) Price under EMA 14
conditions to close SELL order: (any of the conditions)
1) Price higher then EMA 50, and EMA 14 higher then EMA 50 (2 condition)
or
2) Price higher then EMA 200
Position Management
at each position opening, 4 positions are opened:
1) first position with tp at 20 pips
2) second position with tp at 40 pips
3) third position with tp at 60 pips
4) fourth position will not have Take profit. It will close when it reaches SL or when the above closing conditions will come into force
* EMA is always exponential and applicable for candle closure
* the purchase / sale decision will be made only when a candle is closed
* once a set of positions (buying or selling) has been opened, another set of positions will not be opened until the open one was close (through tp or sl)
* after one set of positions has been closed, another will open only if Ema 14 intersects again with Ema 50 (down for sale and up for purchase)
Risk Management - each position has sl
1) When a position is open SL is 10 pips
2) once 5 pips are win, Sl is moved to break even
3) once 10 pips are win, Sl is moved to 3 pips profit
4) once 15 pips are win, Sl is moved to 5 pips profit
5) once 40 pips are win, Sl is moved to 10 pips profit
Money Management
the size of the open position respects the proportion:
balance = 100$ - position = 0.01 lots
balance = 200$ - position = 0.02 lots
and so on...
an option that can be switched on or off:
at each closed candle in which the EMA 14 is greater than the EMA 14 of previous one (if we are talking about buying, or smaller if we are talking about selling) a new position is opened.
Closing all the additional positions at the first candle when EMA 14 si smaller than EMA 14 of previous candle (or increase if we speak of sale)
the following values must be customizable:
Ema`s values
tp`s values
sl`s values
the value of the lots