| double iGator( |
string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift) |
计算随机震荡指标。 震荡指标在鳄鱼 红色和蓝线(上部直方图)和那之间的区别在于红色和绿线(更低的直方图)之间。
参量:
| symbol |
- |
计算指标数据上的货币对名称. NULL表示当前货币对. |
| timeframe |
- |
时间周期。 可以时间周期列举任意值. 0表示当前图表的时间周期. |
| jaw_period |
- |
平均周期(鳄鱼的下颌)的蓝线. |
| jaw_shift |
- |
蓝线转移相对图. |
| teeth_period |
- |
平均周期(鳄鱼的牙)的红线. |
| teeth_shift |
- |
红线转移相对图. |
| lips_period |
- |
平均周期(鳄鱼的嘴唇)的绿线. |
| lips_shift |
- |
绿线转移相对图. |
| ma_method |
- |
MA方法。 它可以是其中任意 滑动平均值列举 值. |
| applied_price |
- |
应用的价格。 它可以是应用价格列举的任意值. |
| mode |
- |
指标行数组索引。它可以是 指标识别符列举的任意值. |
| shift |
- |
从显示缓冲采取的值的索引(转移相对当前柱特定相当数量期间前). |
示例:
double jaw_val=iGator(NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_UPPER, 1);
|