'OnTick' and OnTimer - page 2

 
stefanbanev:


I have the same problem ( Version: 4.00 Build 610 (14 Feb 2014), the test code is below:

I'm working with MB Trading FX, may be this new functionality is vendor dependent(?)

Thanks


Works fine on my platform (FxPro), just had to change

define N_minutes 5

to

#define N_minutes 5
 
It does work, but should you change the period (i.e. from M1 to M5 chart) it gets restarted and starts from the top again. Do you know a workaround? Many thanks in advance!
Reason: