rajandran.r

Autocorrelation

711 5 54
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)
Rajandran R
Founder - Marketcalls
sanjayforu
2 years ago
I don't get it. Exactly what correlation is this? Kindly explain.
+1 Reply
rajandran.r sanjayforu
2 years ago
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
2 years ago
Thanks for the explanation.
Reply
shankar.gd.1 rajandran.r
2 years ago
How is my behaviour tracked?
Reply
CharlieTrades
2 years ago
Haha what!? This makes no sense.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out