Calculates the Gator oscillator and returns its value.Calculates the Ichimoku Kinko Hyo indicator and returns its value.
await Indicators.Ichimoku(symbol:string, timeframe:string, tenkanSen:int, kijunSen:int, senkouSpanB:int, priceType:int, mode:int)
Parameters
| Name |
Type |
Действие |
Значение по умолчанию |
| symbol |
string |
Symbol name on the data of which the indicator will be calculated. null means the current symbol. |
— |
| timeframe |
string |
TimeFrame. It can be any of TimeFrame enumeration values. 0 means the current chart timeframe. |
— |
| tenkanSen |
int |
Tenkan Sen averaging period. |
— |
| kijunSen |
int |
Kijun Sen averaging period. |
— |
| senkouSpanB |
int |
Senkou SpanB averaging period. |
— |
| priceType |
int |
Price type |
— |
| mode |
int |
Source of data. It can be one of the Ichimoku Kinko Hyo mode enumeration IndicatorLine. |
— |
Return value
Numerical values of the Ichimoku Kinko Hyo indicator.
Example
let list = await Indicator.Ichimoku(null, 0, 9, 26, 52, PriceType.Bid);
let listTenkanSen = list[IndicatorLine.TenkanSen];