On the ES the "tick size" is 0.25 -- so you need to divide 6.25 by 0.25, which gives you 25 ticks.
On the ES, 1 point is 4 ticks, so each tick is 0.25.
Anyways,
NinjaScript has this value automatically calculated for you, always use the "TickSize" variable.
Try this code instead,
protected override void OnBarUpdate() { if (CurrentBar == 14) { Print((Open[0]-Close[0])/TickSize); } }
Comment