RoundTickDown

Top  Previous  Next

Rounds the specified price rounded down to the nearest tick using the instrument's tick value.

 

Syntax

 

roundedValue = RoundTickDown( price )

 

Parameters

price

 

the price to be rounded

 

Example

' Add one tick.

entryPrice = entryPrice + instrument.minimumTick

 

' Round the price up to the nearest tick.

entryPrice = instrument.RoundTickDown( entryPrice )