hindvds444

Booker/Palladino Ghost Pivots

278 0 82
/@version=2

plot(close)

study(title="Booker/Palladino Ghost Pivots", shorttitle="Ghost Pivots", overlay=true)

sd             = input(true, title="Show Next Day Pivot")

sw = input(true, title="Show Next Week Pivot")

sm = input(true, title="Show Next Month Pivot")

//TODO: Need to change offsets so pivot is drawn ahead of last bar. The offset

// changes depending on the current time frame being displayed.

day_offset = 0

week_offset = 0

month_offset = 0

//tomorrows pivot

dtime_pivot = iff(sd==true, security(tickerid, 'D', hlc3), na)

//Next Weeks pivot

wtime_pivot = iff(sw == true, security(tickerid, 'W', hlc3), na)

//Next Months pivot

mtime_pivot = iff(sm == true, security(tickerid, 'M', hlc3), na)

plotchar(dtime_pivot, color=green, char="d",text="", location = location.absolute, offset=day_offset)

plotchar(wtime_pivot, color=red, char="w",text="", location = location.absolute, offset=week_offset)

plotchar(mtime_pivot, color=purple, char="m",text="", location = location.absolute, offset=month_offset)
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2

study(title="Booker/Palladino Ghost Pivots", shorttitle="Ghost Pivots", overlay=true)

sd = input(true, title="Show Next Day Pivot")

sw = input(true, title="Show Next Week Pivot")

sm = input(true, title="Show Next Month Pivot")

//TODO: Need to change offsets so pivot is drawn ahead of last bar. The offset

// changes depending on the current time frame being displayed.

day_offset = 0

week_offset = 0

month_offset = 0

//tomorrows pivot

dtime_pivot = iff(sd==true, security(tickerid, 'D', hlc3[0]), na)

//Next Weeks pivot

wtime_pivot = iff(sw == true, security(tickerid, 'W', hlc3[0]), na)

//Next Months pivot

mtime_pivot = iff(sm == true, security(tickerid, 'M', hlc3[0]), na)

plotchar(dtime_pivot, color=green, char="d",text="", location = location.absolute, offset=day_offset)

plotchar(wtime_pivot, color=red, char="w",text="", location = location.absolute, offset=week_offset)

plotchar(mtime_pivot, color=purple, char="m",text="", location = location.absolute, offset=month_offset)
plot(close)
United States
United Kingdom
India
Deutschland
España
France
Việt Nam
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
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 Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out