Adapt To The Right Situation There are already some Adaptive Stochastic scripts out there, but i didn't see the concept of using different periods highest/lowest for their calculations. What we want for such oscillator is to be active when price is trending and silent during range periods. Like that the information we will see will be clear and easy to...
Introduction A simple and really clean cycle oscillator, in fact its quite precise even if the script use recursion which can sometime produce totally uncorrelated results. On The Code The calculations start with a who is a smoothing/averaging constant. Then comes src who is the input and is defined as the sum of the closing price with the output, then...
Its a pretty old script and i have absolutely no idea how i did it, the code kinda look like the phase wrapping/unwrapping formula. This indicator is an oscillator, sometimes its reactivity is impressive so i think its a good idea to post it, feel free to experiment with it.
Introduction I have already posted a classic indicator using recursion, it was the stochastic oscillator and recursion helped to get a more predictive and smooth result. Here i will do the same thing with the rsi 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...
Introduction Cycles can be spotted by using a wide range of methods, most of them will involve bandpass filtering, here i will show a method using recursion with the change() function. The Indicator As i explained in other indicators using recursion i posted rescaling the input is important, i will use the rsi of an exponential moving average as input. alpha...
Just a clean script that can be applied on top of other indicators/sources or you can take the function out of the source and use it in other scripts. The idea for this was taken from www.pinecoders.com except I am utilizing an EMA instead of SMA. Simply put, we are combining a low-pass filter (moving average) with a high-pass filter (smoothed difference...
The Self Referencing Stochastic Oscillator The stochastic oscillator bring values in range of (0,100). This process is called Feature scaling or Unity-Based Normalization When a function use recursion you can highlights cycles or create smoother results depending on various factors, this is the goal of a recursive stochastic. For example : k =...
The Adaptive Relative Strength Index was created by John Ehlers and this is his first version. I will of course publish his updated version at a later date along with publishing the final script from Jim Sloman's Ocean Theory book. I have changed his script to include extra smoothing to provide clear buy and sell signals. This is a version of a RSI that is very...
Library "EchoMorphicAverage" Original Self Referencing Moving Average which references it's own output agsainst itself and the incoming source to dynamically alter smoothness and length internally per calculation cycle. @kaigouthro Inputs are float length series. Contact Me for More Dynamic Float Length Indicators. wema(src, mod, len) Waited ...
// Custom Vortex Strategy (backtester) // Custom version of the Vortex indicators that adds many features: // -Triggers trades after a threshold is reached instead of the normal vortex lines cross (once the difference between the 2 lines is important enough) // -Smooths the Vortex lines with an EMA // -Adds Take Profit and Stop Loss selection // -Adds the...
The term "shapeshifting" is more appropriate when used with something with a shape that isn't supposed to change, this is not the case of a moving average whose shape can be altered by the length setting or even by an external factor in the case of adaptive moving averages, but i'll stick with it since it describe the purpose of the proposed moving average pretty...
Introduction I already estimated the least-squares moving average numerous times, one of the most elegant ways was by rescaling a linear function to the price by using the z-score, today i will propose a new smoother (FLSMA) based on the line rescaling approach and the inverse fisher transform of a scaled moving average error with the goal to provide an...
Introduction Technical indicators often have parameters settings that the user must enter, those are inconvenient when the user must design a strategy because such settings must be optimized, it must also been noted that the optimal settings at time t could change at time t+n , this is why non parametric indicators are more efficient. Today i propose a moving...
Introduction This is a modification of an old indicator i made. This filter aim to adapt to market trend by creating a smoothing constant using highest and lowest functions. This filter is visually similar to the edge-preserving filter, this similarity can make this filter quite good for MA cross strategies. On The Filter Code a = nz(a ) + alpha*nz(error )...
Introduction This indicator was asked and named by a trading meetup participant in Sevilla. The original question was "How to estimate the correlation between the price and a line as easy as possible", a question who got little attention. I previously proposed a correlation estimate using a modification of the standard score (see at the end of the post) for...
Introduction A simple oscillator using a modified lowess architecture, good in term of smoothness and reactivity. Lowess Regression Lowess or local regression is a non-parametric (can be used with data not fitting a normal distribution) smoothing method. This method fit a curve to the data using least squares. In order to have a lowess regression one must...
Introduction Roughness of a signal is often non desired since smooth signals are easier to analyse, its logical to say that anything interacting with rough price is subject to decrease in accuracy/efficiency and can induce non desired effects such as whipsaws. Being able to measure it can give useful information and potentially avoid errors in an analysis. It...
Even Shorter Estimation I know that i'am insistent with the lsma but i really like it and i'm happy to deconstruct it like a mad pinescript user. But if you have an idea about some kind of indicator then dont hesitate to contact me, i would be happy to help you if its feasible. My motivation for such indicator was to use back the correlation function (that i...