Steversteves

Autocorrelation Candles [SS]

Hey everyone, this is the Autocorrelation Candles indicator!

I have formulated it in a way that is similar to the TD 9 candle counting indicators, only instead of TD, its using a lagged autocorrelation of previous candle over a 14 period look back.

It operates similar to trend correlations (for example, my Trend Correlation Oscillator Indicator), however instead of correlating to time, it correlates to itself (autoregression). The theory being, as the autoregression correlation increases and the market becomes too "trendy", we are due for a reversal.

The indicator will display the current lagged correlation of each candle below it. When we approach a period of previous reversal, it will change the colour to orange. When we reach a very high autocorrelation (0.94 or greater), it will turn red and signal a potential reversal to the upside or downside:




Uses:
I will reference this on the larger timeframes (Daily, weekly and 4 hour) about a couple times a week or after a major trend day to see where we are.

You can use this on the smaller timeframes as well, it will work just fine.


Customizations:

I have been listening and learning my lesson, I have made the ability to customize the base text colour to black or white depending on your theme use! SO if you have white theme, you can change to black and vice versa.

As well, if you don't want labels on every candle, in the settings menu there is an option to limit the labels to a desired amount. You select the max amount and it will adjust.

You can also adjust the size of the labels between tiny, medium, and large.

Conclusion
And that's the indicator! Despite being fairly simple in concept, I have been working away on it for a bit with some logistic issues that I finally got sorted.

Hopefully, you enjoy,
Leave your questions below!

Safe trades everyone!

Premium indicators and content have launched! Get access at: www.patreon.com/steversteves
開源腳本

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

免責聲明

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

想在圖表上使用此腳本?