Minimum time in ms between subsequent intrabar function calls (TMF or tick) in trade mode. Default = 100*sqrt(BarPeriod), i.e. 1.5 seconds for a 4 hours bar period. Even when several price quotes arrive during that time, the intrabar function is only excuted once and receives the most recent price quote. Set this to a higher value for saving CPU resources, especially when several Zorro instances trade simultaneously, or for reducing the price request frequency to the broker API. Set it to a smaller value for reducing latency. By setting TickTime to a negative value, TMF and tick functions run at the given time period even when no new price quote is arrived.


Time in ms between subsequent tock calls in trade mode (default = 60000 ms).


Time delay to be added to or subtracted from M1 ticks in historical data, in ms (default = 0). Can be used for compensating tiny inaccuracies in tick composition that lead to backtest differences between T1 and M1 ticks, or for determining the influence of small tick time differences on the result of the strategy.




function run()
  TockTime = 1000; // run the tock function any second

See also:

Mode, run, tick, tock, Outlier


► latest version online