Download MetaTrader 5
To add comments, please log in or register
Search in documentation is available via MetaTrader 5. Search and learn!
awkWard
9
awkWard 2015.04.11 20:20 

Hello,

 I am looking for a way to ensure that my EA is running in a 15 Minute Chart because the tests I want to do is for a 15 minute time frame.

I found an example of the ma (ma.mq5) but all the comments are garbled, so if someone can please point me to a good example.

Thanks in Advance 

Stuart Browne
5700
Stuart Browne 2015.04.12 00:19  
hvdalsen:

Hello,

 I am looking for a way to ensure that my EA is running in a 15 Minute Chart because the tests I want to do is for a 15 minute time frame.

I found an example of the ma (ma.mq5) but all the comments are garbled, so if someone can please point me to a good example.

Thanks in Advance 

   if (_Period!=PERIOD_M15) return(-1);
   
/
To add comments, please log in or register