MQL4 Reference
Technical indicators
iAC
| double iAC( |
string symbol, int timeframe, int shift) |
Calculates the Bill Williams' Accelerator/Decelerator oscillator.
Parameters:
| symbol |
- |
Symbol name of the security on the data of which the indicator will be calculated. NULL means the current symbol. |
| timeframe |
- |
Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe. |
| shift |
- |
Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). |
Sample:
double result=iAC(NULL, 0, 1);
|
|
|