Hello, I'm just starting to look at MQL5 and now that I've successfully opened an order I would like to convert my MQL4 OpenOrder() function into MQL5. If someone could give the equivalent MQL5 code for the MQL4 code below it would be
How can I know when the market is say an hour from the Friday closing or right at market close? I use demo accounts with two different brokers and they are on different server times and I would like to code my EA to close all open positions before
Many of the EA's available for purchase offer a demo mode only or strategy tester only mode for "trying" out the EA. Will someone please provide the code for allowing a EA to run in demo and/or strategy tester mode only? One additional