gb50k

After Hours vs Intra Day

67 2 9
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:
Reply
Length parameter is irrelevant (typo)
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out