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

Behaves the same as:

roundTickDown( price + minimumTick/2 ).

 

Syntax:

roundedValue = RoundTick( price )

 

Parameter:

Description:

price

The price to be rounded.

 

Example:

' Round the price to the nearest tick.
entryPrice = instrument.RoundTick( entryPrice )

Returns:

 

 

Links:

Data Functions

See Also:

 

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 509

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software