Skip to main content

McClellan for Amibroker (AFL)

ditirth almost 15 years ago Amibroker (AFL)

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

I had seen this formula on some site. good working.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("McClellan");
ratio = (AdvIssues()-DecIssues())/(AdvIssues()+DecIssues());
Value = EMA(ratio,19)-EMA(ratio,39);
McClellanOsc = Value*1000;
Plot( McClellanOsc, "McClellan Oscillator =",colorGreen );
_SECTION_END();

2 comments

almost 15 years ago

Anyone can enlighten me why I only get a zero line all the time? Thanks!

2. expert
almost 15 years ago

ditirth friend can u also donate ‘McClellan summation index’ afl please if u wish ,thanks

Leave Comment

Please login here to leave a comment.