I created a drawing tool that allows the user to highlight over a range of bars to gather and print it's volume and delta onto the chart. The drawing tool is used only on volumetric bars. I want to take it a step further and add this feature:
On the same chart I am using the drawing tool, I have a configured Order Flow Volume Profile indicator displayed as well. When my drawing tool is displayed onto the chart I would like the tool to reference the Value Area High and Value Area Low from my configured volume profile. In my Drawing Tool's highlighted range, if the VPOC of a bar is above or equal to the value area high, add bar index to "Above Value Group". Bar VPOCs in the value range and below value will be grouped respectively as well. This way, if I were to highlight over a large intraday range, the drawing tool will easily separate the activity that happens in each of the three value areas of my configured volume profile.
In order for me to access my configured volume profile's data, what are some best practices to reference indicator data using a drawing tool?
Comment