Calculates the Fractals indicator and returns its value.
await Indicators.Fractals(symbol:string, timeframe:string, 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. |
— |
priceType |
int |
Price type |
— |
mode |
int |
Indicator line index. It can be any of the Indicators line identifiers enumeration value. |
— |
Return value
Numerical values of the Fractals indicator.
Example
let list = await Indicator.Fractals(null, 0, PriceType.Bid, IndicatorLine.Upper);