iAlligator
Calculates the Alligator indicator and returns its value.
Function Signature
double iAlligator(
string symbol, // symbol
int timeframe, // timeframe
int jaw_period, // Jaw line averaging period
int jaw_shift, // Jaw line shift
int teeth_period, // Teeth line averaging period
int teeth_shift, // Teeth line shift
int lips_period, // Lips line averaging period
int lips_shift, // Lips line shift
int ma_method, // averaging method
int applied_price,// applied price
int mode, // line index
int shift // shift
);
Parameters
NULL for current symbol.ENUM_TIMEFRAMES value. 0 for current chart timeframe.ENUM_MA_METHOD value.ENUM_APPLIED_PRICE value.MODE_GATORJAW (blue)
* MODE_GATORTEETH (red)
* MODE_GATORLIPS (green)
Returned Value
Numerical value of the specified Alligator indicator line.
Example
double jaw_val = iAlligator(NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORJAW, 1);
Related Functions
Previous
arrow_back
Iadx
Next
Iao
arrow_forward