rajandran.r

Autocorrelation

3024 views
309
3024 7
Autocorrelation, also known as serial correlation, is the cross-correlation of a signal with itself. Informally, it is the similarity between observations as a function of the time lag between them. - Wikipedia
Remove from Favorite Scripts Add to Favorite Scripts
//Author - Rajandran R
//www.marketcalls.in
study("Autocorrelation - Marketcalls")
len=input(10, minval=1,maxval = 50)
Dayreturn=roc(close,1)
autocorr = correlation(Dayreturn,Dayreturn[1],len)
plot(autocorr, color = green , style = line , linewidth = 2,title = "Autocorrelation")
hline(0, title='hline1', color=red, linestyle=dotted, linewidth=2)
You should detrend your time series before the autocorrelation analysis
Reply
I think we need a more clear English explanation.
Reply
Haha what!? This makes no sense.
Reply
I don't get it. Exactly what correlation is this? Kindly explain.
+1 Reply
rajandran.r sanjayforu
Autocorrelation is correlation between your current behavior & your behavior few days back. Higher the number = your behaviour haven't changed . Lower the number = your behaviour is against few days back
Reply
sanjayforu rajandran.r
Thanks for the explanation.
Reply
shankar.gd.1 rajandran.r
How is my behaviour tracked?
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out