Detecting the beginning of a different bar or candle Detecting the beginning of a whole new bar or candle, while in the OnTick() function handler of the expert advisor. The features of an EA range from advisory functions to creating selections for you. What a specific EA does relies on https://pivlex.com