Adaptive RSI/Stochastic (ARSIS)As a trader, one of the most important aspects of technical analysis is identifying the dominant cycle of the market. The dominant cycle, also known as the market's "heartbeat," can provide valuable information on the current market trend and potential future price movements. One way to measure the dominant cycle is through the use of the MESA Adaptation - MAMA Cycle function, which is a part of the Dominant Cycle Estimators library.
I have developed an "Adaptive RSI/Stochastic" indicator that incorporates the MAMA Cycle function to provide more accurate and reliable signals. The indicator uses the MAMA Cycle function to calculate the period of the data, which is then used as a parameter in the calculation of the RSI and Stochastic indicators. By adapting the calculation of these indicators to the dominant cycle of the market, the resulting signals are more in tune with the current market conditions and can provide a more accurate representation of the current trend.
The MAMA Cycle function is a powerful tool that utilizes advanced mathematical techniques to accurately calculate the dominant cycle of the market. It takes into account the dynamic nature of the market and adapts the calculation of the period to the current conditions. The result is a more accurate and reliable measurement of the market's dominant cycle, which can be used to improve the performance of other indicators and trading strategies.
In conclusion, the Adaptive RSI/Stochastic indicator that I have developed, which incorporates the MAMA Cycle function, is a valuable tool for any trader looking to improve their technical analysis. By adapting the calculation of the RSI and Stochastic indicators to the dominant cycle of the market, the resulting signals are more in tune with the current market conditions and can provide a more accurate representation of the current trend.
Huge thank you to @lastguru for making this possible!
Adaptivestochastic
inverse_fisher_transform_adaptive_stochastic█ Description
The indicator is the implementation of inverse fisher transform an indicator transform of the adaptive stochastic (dominant cycle), as in the Cycle Analytics for Trader pg. 198 (John F. Ehlers). Indicator transformation in brief means reshaping the indicator to be more interpretable. The inverse fisher transform is achieved by compressing values near the extremes many extraneous and irrelevant wiggles are removed from the indicator, as cited.
█ Inverse Fisher Transform
input = 2*(adaptive_stoc - .5)
output = e(2*k*input) -1 / e(2*k*input) +1
█ Feature:
iFish i.e. output value
trigger i.e. previous 1 bar of iFish * 0.90
if iFish crosses above the trigger, consider a buy indicated with the green line
while, iFish crosses below the trigger, consider a sell indicate by the red line
in addition iFish needs to be greater than the previous iFish
Global & local RSI / quantifytoolsAs the terms global and local imply, global RSI describes broad relative strength, whereas local RSI describes local relative strength within the broad moves. A macro and micro view of relative strength so to speak. Global and local RSI are simply regular RSI and stochastic RSI. Local RSI extremes ( stochastic RSI oversold/overbought) often mark a pivot in RSI which naturally reflects to price. Local RSI extremes are visualized inside the global RSI bands (upper band for overbought, lower band for oversold) in a "heat map" style.
By default:
Stochastic RSI >= 75 = yellow
Stochastic RSI >= 87 = orange
Stochastic RSI >= 100 = pink
Users also have the ability smooth the RSI with their preferred smoothing method ( SMA , EMA , HMA , RMA, WMA ) and length. This leads to different behavior in RSI, rendering the typical RSI extremes (> 70 or < 30) suboptimal or even useless. By enabling adaptive bands, the extremes are readjusted based on typical RSI pivot points (median pivots ), which gives much more relevant reference points for oversold/overbought conditions in both global and local RSI. This feature can be used without smoothing, but it rarely provides a meaningful difference, unless the RSI calculation length is messed with.
Global RSI can be plotted as candles, bars or a line. Candles and bars can be useful for detecting rejections (wicks) in relative strength, the same you would with OHLC data. Sometimes there are "hidden rejections" that are visible in relative strength but not on OHLC data, which naturally gives an advantage. All colors can be adjusted in the input menu. You also have a real-time view of the current RSI states in top right corner. Available alerts are the following: global RSI overbought, global RSI oversold, local RSI overbought and local RSI oversold.