Using "ordersend" I cannot figure out how to place a limit order at a price different from the default trade operation enumeration (OP_xxx). What if i want to place an order limit at the high of the previous bar or at the price of a moving average? Could you provide me with a quick example? Or forward me to a tutorial?
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.
Hello Everyone,
Using "ordersend" I cannot figure out how to place a limit order at a price different from the default trade operation enumeration (OP_xxx). What if i want to place an order limit at the high of the previous bar or at the price of a moving average? Could you provide me with a quick example? Or forward me to a tutorial?
Thank you in advance for your help,