img

Technical Indicators - object Indicators

Moving average calculation

double MA(string symbol,int interval,int period,int ma_shift,int ma_method,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for moving average calculation
  • ma_shift - shift of the indicator relative to the price chart
  • ma_method - averaging method
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Accelerator/Decelerator calculation

double AC(string symbol,int interval,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • shift - shift relative to the current bar for a specified number of periods back

Accumulation/Distribution calculation

double AD(string symbol,int interval,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • shift - shift relative to the current bar for a specified number of periods back

Alligator calculation

double Alligator(string symbol,int interval,int jaw_period,int jaw_shift,int teeth_period,
int teeth_shift,int lips_period,int lips_shift,int ma_method,int applied,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • jaw_period - averaging period for the alligator jaw line
  • jaw_shift - alligator jaws line shift relative to the price chart
  • teeth_period - averaging period for the alligator teeth line
  • teeth_shift - the alligator teeth line shift relative to the price chart
  • lips_period - averaging period for the alligator lips line
  • lips_shift - lips line alligator shift relative price chart
  • ma_method - averaging method
  • applied - price mode
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Average Directional Movement Index calculation

double ADX(string symbol,int interval,int period,int applied,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Average True Range calculation

double ATR(string symbol,int interval,int period,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • shift - shift relative to the current bar for a specified number of periods back

Awesome Oscillator calculation

double AO(string symbol,int interval,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • shift - shift relative to the current bar for a specified number of periods back

Bears Power calculation

double BearsPower(string symbol,int interval,int period,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods one of indicator line

Bollinger Bands calculation

double Bands(string symbol,int interval,int period,int deviation,int bands_shift,int applied,
int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • deviation - deviation from the main line
  • bands_shift - indicator shift relative to price chart
  • applied - price mode
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Bulls Power calculation

double BullsPower(string symbol,int interval,int period,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Commodity Channel Index calculation

double CCI(string symbol,int interval,int period,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

DeMarker calculation

double DeMarker(string symbol,int interval,int period,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • shift - shift relative to the current bar for a specified number of periods back

Envelopes calculation

double Envelopes(string symbol,int interval,int ma_period,int ma_method,int ma_shift,int applied,
double deviation,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • ma_period - averaging period for calculating the moving average
  • ma_method - averaging method
  • ma_shift - indicator shift relative to price chart
  • applied - price mode
  • deviation - deviation from the main line in percentage
  • mode - indicator line mode
  • shift - shift relative to the current bar for a specified number of periods back

Force Index calculation

double Force(string symbol,int interval,int period,int ma_method,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • ma_method - averaging method
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Fractals calculation

double Fractals(string symbol,int interval,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • mode - one of the indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Gator calculation

double Gator(string symbol,int interval,int jaw_period,int jaw_shift,int teeth_period,
int teeth_shift,int lips_period,int lips_shift,int ma_method,int applied,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • jaw_period - averaging period for the alligator jaws line
  • jaw_shift - alligator jaws line shift relative to the price chart
  • teeth_period - averaging period for the alligator teeth line
  • teeth_shift - alligator teeth line shift relative to the price chart
  • lips_period - averaging period for the alligator lips line
  • lips_shift - alligator lips line shift relative to the price chart
  • ma_method - averaging method
  • applied - price mode
  • mode - one of the indicator lines modes
  • shift - shift relative to the current bar for a specified number of periods back

Ichimoku calculation

double Ichimoku(string symbol,int interval,int tenkan_sen,int kijun_sen,int senkou_span_b,int mode,
int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • tenkan_sen - Tenkan Sen averaging period
  • kijun_sen - Kijun Sen averaging period
  • senkou_span_b - Senkou Span B averaging period
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Market Facilitation Index calculation

double BWMFI(string symbol,int interval,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • shift - shift relative to the current bar for a specified number of periods back

Momentum calculation

double Momentum(string symbol,int interval,int period,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Money Flow Index calculation

double MFI(string symbol,int interval,int period,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • shift - shift relative to the current bar for a specified number of periods back

Moving Average of Oscillator calculation

double OsMA(string symbol,int interval,int fast_ema_period,int slow_ema_period,int signal_period,
int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • fast_ema_period - averaging period for calculating the fast moving average
  • slow_ema_period - averaging period for calculating the slow moving average
  • signal_period - averaging period for calculating the signal line
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Moving Averages Convergence/Divergence calculation

double MACD(string symbol,int interval,int fast_ema_period,int slow_ema_period,int signal_period,
int applied,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • fast_ema_period - averaging period for calculating the fast moving average
  • slow_ema_period - averaging period for calculating the slow moving average
  • signal_period - averaging period for calculating the signal line
  • applied - price mode
  • mode - indicator line index
  • shift - shift relative to the current bar for a specified number of periods back

On Balance Volume calculation

double OBV(string symbol,int interval,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Parabolic Stop and Reverse system calculation

double SAR(string symbol,int interval,double step,double maximum,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • step - stop level increase
  • maximum - maximum stop level
  • shift - shift relative to the current bar for a specified number of periods back

Relative Strength Index calculation

double RSI(string symbol,int interval,int period,int applied,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Relative Vigor Index calculation

double RVI(string symbol,int interval,int period,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Standard Deviation calculation

double StdDev(string symbol,int interval,int ma_period,int ma_shift,int ma_method,int applied,
int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • ma_period - averaging period for calculating the moving average
  • ma_shift - indicator shift relative to the price chart
  • ma_method - averaging method
  • applied - price mode
  • shift - shift relative to the current bar for a specified number of periods back

Stochastic Oscillator calculation

double Stochastic(string symbol,int interval,int kperiod,int dperiod,int slowing,int method,
int price_field,int mode,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • kperiod - period for the K line calculation
  • dperiod - averaging period for calculating the D line
  • slowing - deceleration value
  • method - averaging method
  • price_field - price field modes
  • mode - one of indicator line modes
  • shift - shift relative to the current bar for a specified number of periods back

Volumes calculation

double Volumes(string symbol,int interval,int shift) Parameters:
  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • shift - shift relative to the current bar for a specified number of periods back

Larry Williams' Percent Range calculation

double WPR(string symbol,int interval,int period,int shift)

Parameters:

  • symbol - symbol name of the instrument used in indicator calculation
  • interval - chart interval
  • period - averaging period for calculating the moving average
  • shift - shift relative to the current bar for a specified number of periods back