Download MetaTrader 5

TimeLine

To add comments, please log in or register
awkWard
9
awkWard  

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
5897
Stuart Browne  
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