Contribute an indicator to the library by clicking here. Note you must be logged in.

New! Stock Portfolio Organizer is now available:
  • Shares, Margin, Futures and Forex
  • EOD and Realtime data
  • And Much More...
GoTo Stock Portfolio Organizer
New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Popular Indicators

% AD (Accumulation Distribution Oscillator) for Amibroker (AFL)

4 / 5 (Votes 11)

My never ending quest for technical analysis made me reject my own work a hundred times.

Nevertheless sky is the limit.

In technical analysis volumes play a major role. But there are only a few volume indicators available. After lots of digging i was able to design 3 to four volume based indicators which can be used in charts to predict the moves.

The accumulation distribution is one such volume indicator. Merely using the formula of Accumulation Distribution to draw a chart shows u a line which is difficult to predict.

After going through various books I got this idea of designing the Accumulation Distribution Oscillator also known a % AD.

Thus this oscillator provides a more rationale visual trend as compared to the traditional Accumulation Distribution Line.

Using single indicators can prove dangerous and erode you hard earned money. Always use indicators in combination to other indicators.

The Accumulation Distribution Oscillator can be used with %B of Bollinger Band to predict correct moves and abstain from false and fake signals.

I shall post the other volume based indicators in my further posts.


Prasad Rao.

Here is a screenshot of how the indicator looks:

Similar Formulas



Good afl

2. classy
thanks a lot for nice afl sharing.1st afl looking cool…bro is it possible to share 1st afl?
3. hotaro3

unfortunatly in my chart nothing appearing and always AD (20) shows EMPTY


Try this and see.. U have to get it in ur amibroker

SetChartBkColor( ParamColor("Chart Color", colorBlack));
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ParamColor("Text Color", ColorHSB( 42, 42, 42 ) ));
GfxSetBkMode(0); // transparent
GfxSelectFont("Tahoma", Status("pxheight")/12);
GfxTextOut( "PRASAD ANALYTICS ©", Status("pxwidth")/2, Status("pxheight")/14);
GfxSelectFont("Tahoma", Status("pxheight")/9 );
GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/4.1 );
GfxSelectFont("Arial Narrow", Status("pxheight")/28 );
GfxTextOut( "", Status("pxwidth")/2, Status("pxheight")/1.5);
GfxSelectFont("arial narrow", Status("pxheight")/27 );
GfxTextOut( "Dedicated to MY FATHER : BALKRISHNA RAO", Status("pxwidth")/2, Status("pxheight")/1.15);SECTION_END();
VOLDAYS1 = Param("AD DAYS",20,1,50,1);
AD_PER = Sum((Close-Open)/(High-Low)*Volume,VOLDAYS1)/Sum(Volume,VOLDAYS1);
mycolorAD =IIf  (AD_PER<0,ColorRGB(252,255,200) , IIf( AD_PER>0,ColorRGB(252,255,0),ColorRGB(125,84,11)));
Plot(AD_PER,"AD%",mycolorAD ,styleHistogram);
GfxSetTextAlign( TA_left = 0);
GfxSelectFont("Tahoma", 11, 700 ); 
GfxTextOut("PRASAD ANALYTICS - % Accu Dist",07, 0); 
GfxSetTextAlign( TA_LEFT = 0 );
GfxSelectFont("Tahoma", 11, 700 ); 
GfxTextOut(Name()+ "   " + Date(),07,30); 
GfxTextOut("AD[ "+VOLDAYS1+" ]"+" = "+NumToStr(AD_PER,1.2),07, 14); 
Title = " ";

great work

perfect. Thk

I applied ur indicator. On some stocks its showing histogram but on many of the stocks its not showing histogram. How to rectify this. Pls suggest

8. cadoize

appears nothing in AB version 6, sir

Thank you for your indicator. I have applied it and i had the same problem as sushant09in.

10. Say-HI

Error 505 at Line 27

Please login here to leave a comment.

Main Menu