Download MetaTrader 5

'OnTick' and OnTimer - page 2

To add comments, please log in or register
Keith Watford
Moderator
10565
Keith Watford  
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
gvdraganov
33
gvdraganov  
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!
12
To add comments, please log in or register