Forum

Forward simulation bug

Ussually, It happens several times, that once a forward simulation has been carried out, when you press "Start simulation" from forward window, the terminal hangs. do you know how to fix it

MQL5: iCustom + CopyBuffer in different timeframes

I have a problem to obtain data buffers using iCustom function My indicator use another iCustom indicator in 2 different timeframes: - first iCustom in the PERIOD_CURRENT, - second in period daily. I dont have problem to obtain indicator handle, but when i try to obtain buffer into OnCaculate()

ERROR: Modification failed due to order or position being close to market

Morning I'm traying to publish my EA, and after local testing, i don't find any error. But when i update to market, verification process say: test on EURUSD,H1 (netting) 2020.05.05 10:06:00 failed modify #6 sell 0.3 EURUSD sl: 1.09088, tp: 1.08857 -> sl: 1.09075, tp: 1.08857 [Modification failed due