Round near tickSize  [SOLVED]

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 213
Joined: 11 May 2013
Has thanked: 67 times
Been thanked: 1 time

Round near tickSize  [SOLVED]

Postby turbofib » 10 Apr 2018

hi,
i want to round up near tickSize

Example:

tick size = 0.25

value = 100,7...

i want to find 100.75

Jad
Posts: 92
Joined: 15 Jun 2014
Has thanked: 13 times
Been thanked: 21 times

Re: Round near tickSize

Postby Jad » 10 Apr 2018

Try the Round2Fraction Function

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Round near tickSize

Postby wilkinsw » 11 Apr 2018

Also:

round(100.7/0.25,0)*0.25


Return to “MultiCharts”