Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
1) You need to convert the MACD indicator strategy to MT5. ( Using exponentially moving average. In ema weighting factors decrease
exponentially. It calculates by sing a formula: EMA = alpha * x + (1 - alpha) * EMA[1], where alpha = 2 / (y + 1))
2) According signs of entry or
exit, make long or short.
3) Realize the profit with a limit order or realize the loss with a limit order. (fixed price and not to market)
4)
If the result is loss, you must double the contract number in the next operation. Until the operation is successful and go back to the
beginning. (button for enable or disable this function)
4.1) Example:
First transaction with 1 contract = Loss
Second operation must be 2 Contracts = Loss
Third operation must be with 4
Contracts = Loss
Fourth operation must be with 8 contracts = winner. (return to the beginning with 1 contract)