Need help for - volume at price

#1
i want to plot yesterday's three highest volume at price level on my today's intraday chart as vap1,vap2,vap3.

vap code -----
_SECTION_BEGIN("Volume-at-Price");

MySegment = Day();
MySegment = MySegment != Ref( MySegment, -1 );

PlotVAPOverlayA( MySegment, Param("Lines", 300, 100, 1000, 1 ), Param("Width", 50, 1, 100, 1 ), ParamColor("Color", colorGreen), ParamToggle("Side", "Left|Right" ) | 2 * ParamToggle("Style", "Fill|Lines", 0) | 4*ParamToggle("Z-order", "On top|Behind", 1 ) );

_SECTION_END();

expecting help from seniors and experts. thanks in advance.
 

Similar threads