gb50k

After Hours vs Intra Day

49 2 7
latest and IMPROVED:
https://www.tradingview.com/script/z5BbkoOQ-After-Hours-Daytime-Consistency/
Remove from Favorite Scripts Add to Favorite Scripts
study(shorttitle="AfterHours vs IntraDay", title="AfterHours vs IntraDayD", overlay=true)
//
//Works only on DAILY CHARTS
//Blue line is intraday contribution
//Black line is overnight gap

length = input(20, minval=1)
src = input(close, title="Source")
sro = input(open, title="Source")
src1 = src[1]
intrad=src-sro
co=cum(intrad)
AH=sro-src1
oc1=cum(AH)
summ=co+oc1
offst=src[0]-summ[0]
plot(co+offst, color=blue)
plot(oc1+offst, color=black)
//plot(co+oc1+offst, color=red)
go straight to update:
After Hours Daytime - Consistency
Reply
Length parameter is irrelevant (typo)
Reply
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder 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
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out