I have already posted a classic indicator using recursion, it was the oscillator and recursion helped to get a more predictive and smooth result. Here i will do the same thing with the oscillator but with a different approach. As reminder when using recursion you just use a fraction of the output of a function as input of the same function, i say a fraction because if you feedback the entire output you will just have a periodic function, this is why you average the output with the input.
The indicator will use 50% of the output and 50% of the input, remember that when using feedback always rescale your input, else the effect might be different depending on the market you are in. You can interpret the indicator like a normal except if you plan to use the 80/20 level, depending on length the scale might change, if you need a fixed scale you can always rescale b by using an or oscillator.
I have presented an oscillator using a different type of recursion structure than the recursive i posted in the past, the result might be more predictive than the original . Hope you like it and thanks for reading !
Become a Patreon and get access to exclusive technical indicators!
You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.