When adding the volumetric there is a parameter for ticks per level
AddVolumetric(string instrumentName, Data.BarsPeriodType baseBarsPeriodType, int baseBarsPeriodTypeValue, Data.VolumetricDeltaType deltaType, int tickPerLevel)
I want to have this set to 8 ticks but if I try to return a value for delta I return zero.
GetDeltaForPrice(double price)
If I set to one tick I return the proper value. I am assuming it is returning zero when set to 8 ticks is because this is trying to return a value for a specific price level as opposed to a span of prices.
I would like to return the sum of delta for 8 ticks surrounding the Close[0] price.
Do I have to manually sum the 8 ticks?
On a second note when I set TickPerLevel to 1 for a 15 minute bar I cannot visually see all the price levels on the chart, they are too small to read. When I stretch the screen many of the price levels go out of view. See attached
I am trying to verify the strategy is returning the correct delta at the corresponding price level. Is there a way to scroll the chart so I can read all the price levels?
Comment