loxx

Adaptive-Lookback Stochastic [Loxx]

Adaptive-Lookback Stochastic 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
  • Alerts

Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: www.patreon.com/algxtrading/membership
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?