img

Technical indicators parameters

symbol - symbol name of the instrument (such as "EURUSD") for which the indicator is calculated.

interval - chart interval

Parameter valuechart interval
ciM1M1
ciM5M5
ciM15M15
ciM30M30
ciH1H1
ciH4H4
ciD1D1
ciW1W1

mode - index of one of the indicator lines

Indexes of indicator lines for methods MACD(), RVI() and Stochastic()

Parameter valueDescription
0Main line
1Signal line

Indexes of indicator lines for the ADX() method

Parameter valueDescription
0Main line
1Line DI+
2Line DI-

Indexes of indicator lines for Envelopes(), Fractals(), Gator() methods

Parameter valueDescription
0Top line
1Bottom line

Indexes of indicator lines for the Bands() method

Parameter valueDescription
0Central line
1Shift

Indexes of indicator lines for Ichimoku() method

Parameter valueDescription
0Tenkan-sen
1Kijun-sen
2Senkou Span A
3Senkou Span B
4Chinkou Span

Indexes of indicator lines for Alligator() method

Parameter valueDescription
0Alligator jaw line
1Alligator teeth line
2Alligator lips line

price_field - selection mode for calculating prices

Parameter valueDescription
0Low/High
1Close/Close