OPEN-SOURCE SCRIPT

[dharmatech] KBDR Mean Reversion

Based on the criteria described in the book "Mean Revision Trading" by Nishant Pant.

Bullish signal criteria:

  • Bollinger Bands must be outside Keltner Channel
  • Price near bottom bband
  • DI+ increasing
  • DI- decreasing
  • RSI near bottom and increasing


Bearish signal criteria:

  • Bollinger Bands must be outside Keltner Channel
  • Price near upper bband
  • DI+ decreasing
  • DI- increasing
  • RSI near upper and decreasing


A single triangle indicates that all 4 criteria are met.
If letters appear with the triangle, this indicates that there was a partial criteria match.

  • K : bbands outside Keltner
  • B : bbands criteria met
  • D : DI criteria met
  • R : RSI criteria met


You can use the settings to turn off partial signals. For example:

"Partial 3" means show signals where 3 of the criteria are met.

If you want more insight into the underlying criteria, load these indicators as well:

Bollinger Bands (built-in to TradingView)
Keltner Channels (built-in to TradingView)
RSI (built-in to TradingView)
ADX and DI

Warning:

Not meant to be used as a stand-alone buy/sell signal.
It regularly provides signals which would not be profitable.
It's meant to be used in conjunction with other analysis.

Think of this as a time-saving tool. Instead of manually checking RSI, DI+/DI-, bbands, distance, etc. this does all of that for you on the fly.
Bands and ChannelsbollingersbandDirectional Movement Index (DMI)keltnerchannelmeanreversionRelative Strength Index (RSI)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明