Forum

Demo only EA

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 question. I purchased one EA when I first began looking into the

Help with retry for opening an order

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 greatly appreciated; hopefully someone has already coded

How to close open positions at Friday market close

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 the Friday market close. This is just for testing