alexgrover

Adaptive Stochastic

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 use.

Switching between a long term highest/lowest during range periods and a short term highest/lowest during trending periods is what will create the adaptive stochastic.
The switching is made thanks to the Efficiency Ratio, the period of the efficiency ratio is determined by the length parameter.

The period of the highest and lowest will depend on the slow and fast parameters, if our efficiency ratio is close to one (trending market) then the indicator will use highest and lowest of period fast, making the indicator more reactive, if our efficiency ratio is low (ranging market) then the indicator will use highest and lowest of period slow, making the indicator less reactive.

The source of the indicator is a running line (lsma) of period slow-fast.

it is also possible to switch the parameters values, making the indicator reactive during ranging market and less reactive during trending ones.


Hope you enjoy

For any questions/demands feel free to pm me, i would be happy to help you

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?