|
RoundTickUp |
Top Previous Next |
|
Rounds the specified price rounded up to the nearest tick using the instrument's tick value.
Syntax
roundedValue = RoundTickUp( price )
Parameters
Example ' Add one tick. entryPrice = entryPrice + instrument.minimumTick
' Round the price up to the nearest tick. entryPrice = instrument.RoundTickUp( entryPrice ) |