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)
Ideas Scripts Chart
United States
United Kingdom
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 Account and Billing Sign Out