yatrader2

Autocorrelation Plot

A tool to plot auto correlation of time series, this is useful in identifying periodicity in a time series or signal.

Due to the limits of Pine Script you'll need to add it multiple times if you want autocorrelation beyond 55 periods. I have added it 4 times here for 220 periods.

For more information on Autocorrelation see: https://en.wikipedia.org/wiki/Autocorrel...

Note: There are 1 bar gaps every 55 because I wanted the labels to remain every 5, but you don't have to have gaps....
開源腳本

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

想在圖表上使用此腳本?