OnTick (and start) function in EA does not work on Weekend

 

Is this normal that OnTick (and start) function in EA does not work on weekend ?

OnTick (and start) works fine in Strategy tester but not in live mode.

I expected it to work at least once even it is weekend.

I am not sure if this is normal behaviour or particular to my own MetaTrader.

I checked OnInit and OnDeinit worked fine too in live mode. Only OnTick or start function does not work in live mode.

I appreciate your kind answer.

 

Mine does it (not) too, so it should be normal.

"Workaround" for testing is a demo account from a broker offering cryptocurrencies 7 days per week. InstaForex for exampe, you can register the demo with bogus data directly form the platform.

 
kypa:

Mine does it (not) too, so it should be normal.

"Workaround" for testing is a demo account from a broker offering cryptocurrencies 7 days per week. InstaForex for exampe, you can register the demo with bogus data directly form the platform.

That is a good tip for people working hard for their EA on weekend. :)

 
Young Ho Seo: Only OnTick or start function does not work in live mode.
Of course not, if your market is closed, e.g. FX (weekends) and DAX (outside 09:00 and 17:45 Hours CET.) Tester or kypa's open cryptos.
 
whroeder1:
Of course not, if your market is closed, e.g. FX (weekends) and DAX (outside 09:00 and 17:45 Hours CET.) Tester or kypa's open cryptos.

What are kypa's open cryptos ? 

 

Young Ho Seo:

I expected it to work at least once even it is weekend.

If you want an event to run on the weekend, use OnTimer().

 
Icham Aidibe: What are kypa's open cryptos ? 
Post #1
 
Ah yeah ! That's a nice workaround. But it seems to me InstaForex is 4 digit only ?!
Reason: