TickSize

View as Markdown

Definition

The minimum fluctuation value which is always a value of 1-tick for the corresponding master instrument.

Property Value

A double value that represents the minimum fluctuation of an instrument.

Syntax

TickSize

This property should NOT be accessed during State.SetDefaults from within the OnStateChange() method, all bars series would be guaranteed to have loaded in State.DataLoaded.

Examples

1// Prints the ticksize to the output window
2Print("The ticksize of this instrument is " + TickSize);
3
4// Prints the value of the current bar low less one tick size
5double value = Low[0] - TickSize;
6Print(value);