Adaptive-Lookback Stochastic [Loxx] is an adaptive stochastic indicator.
The Adaptive lookback is truly a market-driven period input used to determine the variable lookback period for many different indicators, instead of a traditional, fixed figure.
It is based on the frequency of market swings - the time between swing highs or swing lows. A swing high is defined as two consecutive higher highs followed by two consecutive lower highs; a swing low is defined by two consecutive lower lows followed by two consecutive higher lows. As swing points typically accompany reversals, they occur more frequently in choppier and volatile markets than in trends.
Adaptive lookback period is determined as :
Determine the initial number of swing points (swing count parameter) to use in the calculation.
Count the number of price bars it takes for the n swing points to form.
Divide step 2 by step 1 and round the result.
As an addition, adjust the "speed" of the produced period using the speed parameter - the smaller the speed parameter, the "slower" the average, and vice versa
Included
Bar coloring
Loxx Expanded Source Types
3 types of signals: levels crosses, slope, and middle crosses
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.