IRSIFunction
Hierarchy Properties
Type Library
TeeChartx
Description
RSIFunction is a LineSeries derived class that calculates a percent value based on Financial data. RSIFunction must be connected to a CandleSeries or any derived Series class (like CandleSeries). Like a MovingAverageFunction, RSI will calculate a new point Y value by using previous Period points.
The used formula is:
Add all Close prices greater than Open prices and divide by ocurrences (Ups).
Add all Close prices lower than Open prices and divide by ocurrences (Downs).
RSI := 100.0 - ( 100.0 / ( 1.0 + Abs( Ups / Downs ) ) )