Skip to main content

Volume displayed in candle shape for Amibroker (AFL)

stanwell over 8 years ago Amibroker (AFL)

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

Here is an indicator that displays volume in candle shape. The standard way of displaying volume in histogram form making the bars too narrow. The new form seems more user friendly, as least to me :).

The screen shot looks like below

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN( "Volume" );
ShowVolume  = ParamToggle( "Show Volume","No|Yes" , 1 );
if ( ShowVolume )
{
	VolColor = ( C >= O)*ParamColor ("UpColor" ,colorGreen) +
   		        ( C < O)*ParamColor( "DnColor" ,colorRed) ;
 
	PlotOHLC(0, V, 0, V, "V", VolColor , styleOwnScale|styleCandle,  20) ;
}
_SECTION_END();

1 comments

1. ARIES77
over 5 years ago

Hello sir, what candlestick you used it (hollow candle) ? may i used it??? thanks

Leave Comment

Please login here to leave a comment.