I would like to find the maximum total volume in a bar at what price that occured and draw a line at that price. I'm using Volumetric Bars and found GetMaximumVolume:
Print("Maximum Combined: " + barsType.Volumes[CurrentBar].GetMaximumVolume(null, out price) + " at price: " + price);
When I use this and compile, I get an error for price.
1. What would be the best way to find the maximum volume at price
2. How could I resolve the price error?
Thanks

Comment