NinjaScript > Language Reference > Data >

TickSize

Print this Topic Previous pageReturn to chapter overviewNext page

Definition

The minimum fluctuation value; the value of 1 tick for the corresponding instrument.

 

NOTE: This property should NOT be accessed within the Initialize() method.

 

Property Value

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

 

Syntax

TickSize

 

 

Examples

// Prints the ticksize to the output window
Print("The ticksize of this instrument is " + TickSize.ToString());

 

// Prints the value of the current bar low less one tick size
double value = Low[0] - TickSize;
Print(value.ToString());