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. |
Returns: |
---|
|
Links: |
---|
See Also: |
|
Edit Time: 9/7/2020 3:59:26 PM |
Topic ID#: 509 |