Thank You Vladimir. I wanted to ask, Is it possible to delete a pending order after 10 pips? If price goes the opposite direction delete the pending order after 10 pips?
Jack Buda # : Thank You Vladimir. I wanted to ask, Is it possible to delete a pending order after 10 pips? If price goes the opposite direction delete the pending order after 10 pips?
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.
Thanks. Here is the function:
Thank You Vladimir. I wanted to ask, Is it possible to delete a pending order after 10 pips? If price goes the opposite direction delete the pending order after 10 pips?
You need to compare two prices: 'm_order.PriceOpen' and 'm_order.PriceCurrent'