# OnTick Event Handler Function as i told before, this is main and most important event handler function in an EA. each tick represent a price change, som during an EA there are some cases which same price or etc maybe occures twice or more. we have to handle this situations to prevent double signaling, or opening positions more than once.