VariablePeriodRSI

Parent Previous Next

VariablePeriodRSI(Price, Periods);


Price - The price that the indicator should be calculated on.


Periods - This is an array or value containing the periods that should be used to calculate the RSI at each point. Most often the input here would be some kind of adaptor like the HomodyneDescriminator.


This indicator calculates the RSI using a variable period array to be adaptive. As a result the calculation is not exactly the same as the one that is included in Amibroker. The RSI that is included in Amibroker uses an exponential approach to improve the calculation of the indicator as time goes on. The adaptive period approach is better because the number of periods can be adjusted based on volume, volatility, cycles etc.