Relative Strength Index (RSI)

Path: Indicators

Returns relative strength index indicator value.

 public double Indicators.RSI(int RSIPeriod, int BarIndex = 0);

Parameters

RSIPeriod int

RSIPeriod is period of relative strength index.

BarIndex int

BarIndex is index of bar to get value.

Returns

value double

Returns double value.

Remarks

RSI is a predefined indicator using this function you can get indicator value.

Example

  var value = Indicators.RSI(14, 0);