Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
but OrdersTotal() represents the amount of open orders not their position!?
so if i have 2 open orders it say OrderTotal() = 2.
When i would say OrdersTotal()-1, then i would have 1 open order instead of 2.
ok now i got it but it still doesnt work.
i tried out to change several variables who are possible in this context but no.
any further help?
any further help?