MQL4 iAC Indicator

Overview

Calculates the Bill Williams' Accelerator/Decelerator oscillator and returns its value.

Function Signature

double iAC(
  string      symbol,     // symbol
  int         timeframe,  // timeframe
  int         shift       // shift
);

Parameters

  • **symbol** (string): Symbol name for calculation. NULL uses the current symbol.
  • **timeframe** (int): Timeframe. Use ENUM_TIMEFRAMES values. 0 uses 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 Bill Williams' Accelerator/Decelerator oscillator.
  • Example

    double result = iAC(NULL, 0, 1);
    

    Related Indicators

  • iAD
  • iADX
  • iAlligator
  • iAO
  • iATR
  • iBearsPower
  • iBands
  • iBandsOnArray
  • iBullsPower
  • iCCI
  • iCCIOnArray
  • iCustom
  • iDeMarker
  • iEnvelopes
  • iEnvelopesOnArray
  • iForce
  • iFractals
  • iGator
  • iIchimoku
  • iBWMFI
  • iMomentum
  • iMomentumOnArray
  • iMFI
  • iMA
  • iMAOnArray
  • iOsMA
  • iMACD
  • iOBV
  • iSAR
  • iRSI
  • iRSIOnArray
  • iRVI
  • iStdDev
  • iStdDevOnArray
  • iStochastic
  • iWPR
  • Platform

    MQL4

    Resources

  • [MQL4 Reference](/)
  • [Technical Indicators Documentation](/indicators)
  • [Download MQL4 Help (English)](https://www.mql5.com/files/docs/mql4.chm)
  • [Download MetaTrader 5](https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe?utm_campaign=metaquotes.download&utm_source=www.mql4.com)