Skip to main content

Detector For Price for Amibroker (AFL)

nicotan78 over 16 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 2)
  • Tags:
    oscillator, amibroker

This is an oscillating indicator that measures the accumulation and distribution of price.

Screenshots

Indicator / Formula

Copy & Paste Friendly
BDIn=IIf(C>O, V,0); BDOut=IIf(C< O,V,0);
BDAccW=Sum(BDIn, 5); BDAccM=Sum(BDIn, 21);
BDDistW=Sum( BDout,5); BDDistM=Sum( BDout,21) ;
BDWeek=(BDAccW- BDDistW);


ColorBW=IIf( BDWeek>O, colorBrightGreen ,colorRed) ;


Plot(BDWeek, "BDWk",colorBW, styleHistogram| styleThick) ;

1 comments

almost 11 years ago

ASir,
Of all the ones, I preferred this: simple and clear.
thanks a lot,
Dr.Nagaraj

Leave Comment

Please login here to leave a comment.