PlotVAPOverlay
- plot Volume-At-Price overlay chart

Exploration / Indicators
(AmiBroker 4.40)


SYNTAX PlotVAPOverlay( lines = 300, width = 5, color = colorGreen, vapstyle = 0 );
RETURNS NOTHING
FUNCTION Plots Volume-At-Price (VAP) overlay chart. Please note that there must be at least one regular Plot function in your formula for this to work, and there can be only one PlotVAPOverlay in one indicator. This function plots single segment for visible bars only. To plot multiple-segment VAP chart use PlotVAPOverlayA function.
  • vapstyle = 0 - left side, area fill, on top of all plots
  • vapstyle = 1 - right side, area fill, on top of all plots
  • vapstyle = 2 - left side, lines only, on top of all plots
  • vapstyle = 3 - right side, lines only, on top of all plots
  • vapstyle = 4 - left side, area fill, behind all plots
  • vapstyle = 5 - right side, area fill, behind all plots
  • vapstyle = 6 - left side, lines only, behind all plots
  • vapstyle = 7 - right side, lines only, behind all plots
EXAMPLE Plot( Close, "Price", colorWhite, styleCandle );
PlotVAPOverlay( Param("lines",300,10,1000,1), Param("width",10,1,99,1), ParamColor("color", colorDarkBlue), Param("style",0,0,7,1) );
SEE ALSO PLOT() function , PlotVAPOverlayA() function

References:

The PlotVAPOverlay function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.