Forum

Help, whether the Ontimer function can be started regularly?

I wrote a 15 minute timer(15*60), but I want to make the onTimer() start regularly, for example, 00:15, 00:30, 00:45. How should it be realized? Thanks very much

HELP, failed cancel order [Invalid stops] problem!

test on EURUSD,H1 (netting) 2019.04.09 01:00:00 failed cancel order #21 buy limit 0.2 EURUSD at 1.12594 sl: 1.11994 tp: 1.12626 [ Invalid stops ] 2019.04.09 01:00:01 failed cancel order #21 buy limit 0.2 EURUSD at 1.12594 sl: 1.11994 tp: 1.12626 [Invalid stops] 2019.04.09 01:00:02 failed cancel