I've been able to figure out how to print the maximum value of both the bid and ask volume and it's price on a volumetric bar with this code below in teal. Since I now know that it's possible to get that information drawn, I'd like to get that price into a strategy where the maximum volume price level is what is looked at in the logic. How can I get the strategy to look at just the price level (not the volume) and uses something like this: if (GetMaximumVolume(null, out price)[0] > GetMaximumVolume(null, out price)[1])
Does that make sense what I'm trying to do?
Thanks,
Jack
try
{
double price;
Draw.Text(this, "test1" +CurrentBar, "" + barsType.Volumes[CurrentBar].GetMaximumVolume(null, out price) + " " + price, 0, High[0] + 8 +TickSize);
//GetMaximumVolume(null, out price)[0] = barsType.Volumes[CurrentBar].GetMaximumVolume;
}
catch{}
Comment