Hi there, when I search I see a lot on how to check if a stop event took place but cannot figure how to check if a stop loss is currently place on my current open order.
Something like:
check all existing order on this symbol with this magic to see if there is a stop already placed, if not then... so in other words if there is an order that already has a stop on it, it will leave that order alone.
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.
Hi there, when I search I see a lot on how to check if a stop event took place but cannot figure how to check if a stop loss is currently place on my current open order.
Something like:
check all existing order on this symbol with this magic to see if there is a stop already placed, if not then... so in other words if there is an order that already has a stop on it, it will leave that order alone.
Thanks in advance for any help!
SD