TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
double iRSIOnArray ( TMXArray< double >  array,
int  total,
int  period,
int  shift 
)

Calculates the Relative Strength Index indicator on data, stored in array, and returns its value

Parameters
arrayArray with data
totalThe number of items to be counted. 0 means the whole array
periodAveraging period for calculation
shiftIndex of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago)
Returns
Numerical value of the Relative Strength Index indicator, calculated on data, stored in array