why the condition works just for first trade?
-
@khansari Run that, it shows how to use a bool variable instead of flag, you can then add to your project and see when the flag isn't working, this will show you what you need to change to get all working.
-
i finally find a way thanks to all
i combine variables and flag (textual) and at last after close trades i set up flag (textual) and change its value
thanks to all
https://fxdreema.com/shared/YckjMKBYd