MQL4 iAO Indicator

Overview

Calculates the Awesome oscillator and returns its value.

Signature

double iAO(string symbol, int timeframe, int shift);

Parameters

  • **symbol**: string - Symbol name. NULL for the current symbol.
  • **timeframe**: int - Timeframe. Use ENUM_TIMEFRAMES values. 0 for the current chart timeframe.
  • **shift**: int - Index of the value from the indicator buffer (shift relative to the current bar).
  • Returned Value

  • double: Numerical value of the Awesome oscillator indicator.
  • Example

    double val = iAO(NULL, 0, 2);
    

    Related Indicators

  • [iAlligator](/indicators/ialligator)
  • [iATR](/indicators/iatr)