Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
ADX_EA
When Valid Signal occurred, place a trade with the initial lot size. After this, the EA needs to place Virtual Buy/Sell Stop orders (like grids), & all of them have decreasing position size with x % from the initial position size.(until reach 0.01, after that, all position need to open with 0.01 lot size)
Buy signal valid if:
-If the last closed Gray ADX Histogram value is higher than the previous one & it`s the same color.
-The last closed Histogram value is higher than the marked level
Sell signal valid if:
-If the last closed Black ADX Histogram value is higher than the previous one & it`s the same color.
-The last closed Histogram value is higher than the marked level.
If Opposite signal occour, than Close All positions(also pending):
-True or false option
(if set for false, than no stop loss on the positions)
(if set for true, than close ALL positions, and open the new ones
“ADX Hard Stop”:
-If the last closed ADX Histogram value lower than the previous one, close ALL orders.(also pending)
-True or false option
I need settings on the EA panel for:
-Position size
-Position size Decreasing % value
-ADX Period
-ADX Level
-How many Virtual Buy or Sell Stop orders will be placed after the first position is opened
-Distance value option for the Virtual Pending Orders from the first initial trade & each other
-Virtual Take Profit
-Virtual Stop Loss (activating at close price)
-Virtual Trailing Stop with true or false option,(activating at close price, need to close ALL positions )
-Magic Number option
-Comment line option(i will put the magic number here)