Close all trades and stop trading on daily profit
-
Hi, my goal is to:
- Track daily profit across all symbols.
- If the profit target is hit, close all trades and block new ones for the rest of the day.
- Automatically reset allowance to trade at the start of the next trading day.
I tried some suggestions from chat GPT but cannot get it to work.
[https://fxdreema.com/shared/x09Pkw0jb](link url)
Can anyone assist?
Thank you!
-
Anything under a no trade block won't work once a trade is created. check profit period of time will do what you want, how are the trades on other symbols created? probably need to use all trades in group, but this will mean EA reacts to manually placed