Skip to main content

Volume-at-price indicator for Amibroker (AFL)

anandnst almost 15 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker

You can see Volume-at-price indicator in well separated lines as in QuoteTracker.

Now you will see that Volume-at-price is “grouped by” day. As usual, you can right click on the chart, go to Parameters and edit colour for the lines, no. of lines, width, display location, etc..

Also, because volumes are summed-up on particular price levels, there may be several candles summing up to a particular level – so having colour coded lines is not really possible.

Enclosed herewith is the screenshot for 2 variation.

I hope this helps.

Best regards,
anandnst@gmail.com

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Volume-at-Price");

MySegment = Interval();

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();

_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();

1 comments

Leave Comment

Please login here to leave a comment.