0.00

Relative Strength Index (RSI) – an oscillator that follows the price. It was introduced by Wells Wilder, who recommended 14 RSI periods. This is an adapted version based on the indicator described by John Ailers in the book Rocket Science for traders. The indicator uses a homodyne discriminator to calculate the dominant cycle.

To apply the homodyne discriminator, the real and imaginary parts must be calculated from the common-mode and quadrature components. (The common-mode and quadrature components are derived using the Hilbert transform. For more information, see the article on the theory and implementation of modern adaptive indicators in the sections on complex numbers and vectors for measuring market cycles, as well as measuring the cycle period. ) For these purposes, the product of the current common-mode component and its value on the previous bar is added to the product of the current quadrature component and its value on the previous bar to get the real part. For the imaginary part, the product of the current quadrature component and the value of the common-mode component on the previous bar is subtracted from the product of the current common-mode component and the value of the quadrature component on the previous bar. Both the real and imaginary part are then smoothed out before the cycle period can be inferred.

The cycle is calculated as the arctangent of the imaginary part divided by the real one. Restrictions are imposed so that the frequency of cycle changes is limited to a value of -50% of the previous cycle. In addition, the resulting loop is limited by the condition that its value must be greater than 6 and less than 50. The smoothing is then applied to the last value of the cycle time.

The cycle value is used at each closing of the bar as a value representing the number of previous bars needed to build the “Relative strength” indicator. This gives the indicator adaptability.

The indicator can be used as an alternative to the traditional Relative Strength Index. No need to think about the setup periods.

Indicator Settings:

• The limits value regulates the number of bars for which the indicator will be built.
• Cyclepart is a modifier for the calculation period of the cycle, it helps to make sure that the indicator remains in phase with the price data. The indicator can be optimized for the calculated cycle.

[/spoiler]