Counting Ticks New comment Forex Trader 2006.06.18 19:48 Is there a sub routine or a function that I can use to count the number of ticks? For example, when I start an EA, I want to wait for 200 ticks before I do something. How can I do it? Thanks. To have the ability to import your own data in MT5 is it important for you ? Time[0] How to count number of opened chart? Forex Trader 2006.06.19 00:39 #1 int TickCounter = 200; // global variable int start() { if (TickCounter > 0) { TickCounter--; return (0); } // The EA code here } Forex Trader 2006.06.19 02:06 #2 int TickCounter = 200; // global variable int start() { if (TickCounter > 0) { TickCounter--; return (0); } // The EA code here } Thanks for the code. :) New comment
For example, when I start an EA, I want to wait for 200 ticks before I do something. How can I do it?
Thanks.