Which is Faster OnTick or OnTimer

 
Which function would be better suited for a High frequency trading system?
 

OnTick executes when a tick arrives on chart

OnTimer is used for specific timer decided by user such as 1 millisecond timer

OnTick should be used for HFT Trading system which do analysis based on current realtime price data until the HFT analyse on previous ohlc data of a candle
 
Kekeletso Mofokeng:
Which function would be better suited for a High frequency trading system?

If you trade by price, then OnTick, if by time, then OnTimer.

 
Valid points you make. Thank you 
 

Just know the difference between them. OnTick deals with the time duration of new ticks (multiple ticks can occur in one second). OnTimer is just for time increments, and it can work on milliseconds.

If you want to work with what's real and live in the market, just focus on the OnTick function.