Hi,
how do you know which safety checks you need to put into your code? I am quite familiar with C++ programming so I can code an EA which does what I want. However, which safety switches to use and where to put them is another matter. Usually I open one of the EAs shipped with MT4 and decided based on their code. Do you just refer to the MQL4 Reference for function errors and then implement checks based on that?
Backtesting shows only so much errors. If you code safety checks solely on that it's very much possible you may encounter some weird error in live trading.
how do you know which safety checks you need to put into your code? I am quite familiar with C++ programming so I can code an EA which does what I want. However, which safety switches to use and where to put them is another matter. Usually I open one of the EAs shipped with MT4 and decided based on their code. Do you just refer to the MQL4 Reference for function errors and then implement checks based on that?
Backtesting shows only so much errors. If you code safety checks solely on that it's very much possible you may encounter some weird error in live trading.