ACD Daily Pivot Range

This indicator is to display the Daily Pivot Range for Mark Fishers "ACD" method.
If anyone knows how to offset it for different start times (LO, NYO) please let me know so I can update. Ideally the daily daily pivot calculation start should be from the same time as your opening range but i am not sure how to do this.
Remove from Favorite Scripts Add to Favorite Scripts
//  ACD Mark Fisher Pivot Points 
study(title="ACD Daily Pivot", shorttitle="ACD Daily Pivot", overlay = true)
width = input(1, minval=1)
xHigh  = security(tickerid,"D", high[1])
xLow   = security(tickerid,"D", low[1])
xClose = security(tickerid,"D", close[1])
vDP = (xHigh+xLow+xClose) / 3
vSP = (xHigh+xLow) / 2
vDF = vSP - vDP 
vR1 = vDP + vDF
vS1 = vDP - vDF
plot(vDP, color=#222222, title="DP", style = circles, linewidth = width)
plot(vS1, color=#05B8CC, title="S1", style = circles, linewidth = width)
plot(vR1, color=#05B8CC, title="R1", style = circles, linewidth = width)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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