Skip to main content

AO (Awesome Oscillator) Indicator for Amibroker (AFL)

rajeevj about 14 years ago Amibroker (AFL)

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

AO ( Awesome Oscillator) Indicator code.
Please note this is an indicator to support Alligator Trend Following system.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Awesome Oscillator");


AO = MA(Avg, 5) - MA(Avg, 34);
 
AOUpBar = AO > Ref(AO, -1);
AODownBar = AO < Ref(AO, -1);

Plot(AO,"AO",IIf(AOUpBar,colorGreen,colorRed),styleHistogram|styleThick);

Plot(0,"",15);


_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.