工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
We want to add a draw down algorithm that pairs the first and last trade(Var1) it closes both on breakeven. But keeps the trade sequence take profit. The EA should then set a new TP target for remaining trades.
We should control its operation to work after more than X trades (Input Var1) are open in the martingale sequence and we can get the value of BE or close to be (Input Var2)
A 2nd DD variable as a % of opened trades on a chart that closes the whole sequence (single pair) when it reaches a losing (VAR3) % of equity. This is a stop loss on a single pairs chart
A 3rd variable that closes the basket of all open trades at x profit(Var4) or loss(Var5) of equity. This setting will need to involve the Balance and the Equity When the difference between Balance and Equity equals or exceeds Either Variable Var4 or Var5 Trading will stop.
Display on Chart Visuals
A Break even line for whole sequence on chart
A Take Profit line per chart as set on all the trades
A stop loss line Var3 Value
A break even for the 1 stand Last trades combined
We have the original MQ4 code and the original Specification. We have added the above words to the 4th page of the spec.
We are looking for a quick turn around with this job.