balipour

Impossible RSI [BAPig]

balipour Premium Updated   
The Impossible RSI is built on original RSI . If users want traditional RSI value, they can choose "Traditional RSI" in RSI mode. Untick "Log transform" ,"Error Correcting Smoothing " and "show columns" options in settings.

Orginal RSI allows negative price as input. By using the log transform on input price, we eliminate the negative price scenario.
The reverse RSI demonstrates the negative price scenario.

Error-correcting smoothing is a proprietary smoothing filter, it uses signal processing techniques to create a low lag, smooth, low overshoot smoothing method. User can change the smoothness by adjusting the length in "Low pass length" setting.

By Selecting "Gaussian RSI" option in "RSI Mode", the user can have a close to Gaussian distribution oscillator. We use fisher transform to transform the distribution of traditional rsi into gaussian. It has sharper turning points. We recommend users that use mean reversion strategy to use "Gaussian RSI". Most Oscillators doesn't have a gaussian distribution , therefore the overbought and oversold level doesn't have statistical significance.
Distribution of Gaussian RSI

By Selecting "Zero Mean RSI" option in "RSI Mode", the user can have an oscillator with a consistent zero mean. A high pass filter is applied to filter out the long cycle and trend component. It makes the oscillator zero mean and reduces lag. Oscillators usually stuck in overbought or oversold when the trend is too strong. High pass filter gets rid of this situation. The period in high pass filter represents the longest trend period we are interested in. We recommend users that use trend-following strategy, for example, buy or sell based on oscillator cross the zero line to use "Zero Mean RSI".

Traditional RSI and Gaussian RSI doesn't have a zero mean. It has skewness in the distribution, therefore the zero-crossing strategy is not useful. (Most Oscillators has that problem, the mean is not centred at zero).

Mean of "Zero Mean RSI"


By Selecting "Zero Mean Gaussian RSI", the user gets a zero mean gaussian distributed oscillator. We use both high pass filter and fisher transformation here. This is a perfect combination for an oscillator. This RSI mode is most recommended.
Distribution of "Zero Mean Gaussian RSI"

Users can adjust the length of MA to have a trigger line

Users can adjust the length of the band to have a dynamic overbought and oversold level, a longer length is recommended. When "Gaussian RSI " or "Zero mean Gaussian RSI" mode is selected, the bands are statistically significant. The default setting of standard deviation is 1.96 which is 95% confidence interval.

Short Length Band

When "Show Columns" option is tick off. The oscillator will have a 0 to 100 range like the traditional RSI value. The mean is no longer zero. However, it only changes the scale. It doesn't change the shape or slope.

We used an error-correcting smoothing technique, fisher transform , log transformation and high pass filter on traditional RSI to make it a smooth, low lag, zero mean, near gaussian distributed oscillator. It's an ideal oscillator almost impossible to beat.





Release Notes:
bug fixed

TA is a mental illness & stubborn idiots are highly susceptible to it. Banned because the "artist" bums in charge are allergic to math. Butthurt TA scammers who are too dumb to understand stats. Broke line drawing retards larping expertise in finance.
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact balipour for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

bapigindicator.com

Want to use this script on a chart?

Warning: please read before requesting access.