Expert Advisor; any function to control for EA acceptance time?

 

Hello, 


Is there any function in Expert Advisor that the signal is received only when each candle starts? (i.e. I am looking for a function to control that each signal works every 30 minute when each candle (30M) starts?


Best, 

S. Green

 
mygreensun:

Hello, 


Is there any function in Expert Advisor that the signal is received only when each candle starts? (i.e. I am looking for a function to control that each signal works every 30 minute when each candle (30M) starts?


Best, 

S. Green

Search for isnewbar function

Reason: