whlist using the mt4 in tester mode with an EA in visual mode, i.e. you can see the chart drawing on screen as ea plays, i wish to use a script to return the details of the order which is currently open on the ea tester window, however i can't seem to get the script to capture any order details.
for example, the EA is running in visual mode, there is a Sell order on the chart with a stop loss and take profit, and yet when i drop a script on the chart the function OrdersTotal() with in the script returns zero orders.
i have searched around for a while trying to get an answer but am going round in circles, so hopefully someone can advise me why and how to account for orders on an EA testing chart - specifically using a script.
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 guys n gals
hopefully someone can advise me
whlist using the mt4 in tester mode with an EA in visual mode, i.e. you can see the chart drawing on screen as ea plays, i wish to use a script to return the details of the order which is currently open on the ea tester window, however i can't seem to get the script to capture any order details.
for example, the EA is running in visual mode, there is a Sell order on the chart with a stop loss and take profit, and yet when i drop a script on the chart the function OrdersTotal() with in the script returns zero orders.
i have searched around for a while trying to get an answer but am going round in circles, so hopefully someone can advise me why and how to account for orders on an EA testing chart - specifically using a script.
gratefully yours
michael