Support Board
Date/Time: Sat, 10 May 2025 20:11:01 +0000
Post From: Calculation of the bin number of volume by price
[2016-07-20 23:18:59] |
User381102 - Posts: 7 |
Thanks. Yes, I was referring to calculating number of horizontal volume bars. By ceiling I'm referring to rounding to lowest integer that is greater than a number e.g. ceil( 7.3 ) would result to 8. So in your case it is just bins = (high of period - low of period) / ticks per bar + 1 without rounding? |