i have a EA but he need a help !!!

 

i want to create order as 👇👇👇
if moving averge 5 above 20 i want
order buy (lot 0.01) but if the trend reverses for 25 pips directly, I run a sell order with ((lot 0.02)), and if it reverses the direction again, opposite the direction with 25 pips directly, I place a buy order with ((lot 0.04)), and if again the direction is reversed with 25 pips directly, I run a sell order with ( (lot 0.08)) and if the trend is reversed again by 25 pips directly, I place a buy order with ((lot 0.16)) And finally, if the trend reverses by 25 pips directly, I place a sell order with ((lot 0.32))
On the basis that I close all my trades at once, if the sum of all my trades exceeds a loss of 50 dollars, and in case of profit, I settle for 100 dollars

========================================================

[link deleted]

this is This is what I was able to reach for those who did not work the way I wanted, can you fix it?

i hope that you can help me
thank you very much

 

Veuillez noter que les liens externes ne sont pas autorisés.

Vous pouvez demander une aide professionnelle sur https://www.mql5.com/fr/job

Applications de trading pour MetaTrader 5 à commander
Applications de trading pour MetaTrader 5 à commander
  • 2021.12.14
  • www.mql5.com
Le plus grand service de freelance avec des développeurs d'applications MQL5
Raison: