Hello. I hope somebody can help me again. I really appreciate the help you always get here.
Ok, i am trying to create some sort of grid EA, but not with pending orders (because it can be read).
So right now, just for testing, i have code only three trades. The first one it is placed when we have a moving average crossover, and then it has 60 pips take profit, and with "check profit unrealized" i have -30 pips just to place an order in the opposite direction. If the market goes to the place of the first trade, it will send another one in the same direction. The logic is working the first time (2023.10.01 to 2023.11.01 is the backtesting so you can see what i see. GMT+3 EUR USD), and after ten o'clock, it does the logic properly, but then, after it closes with the take profit, the logic does not work properly. It started sending trades without take profit or respecting the "grid".
Can somebody take a look and tell me what is failing?
Maybe it has the logic in the memory at it has been not reseted?