alawadi

Pivot Range Pivot Boss Monthly by Abdulla

160 2 7
Pivot Range Pivot Boss Monthly by Abdulla
Remove from Favorite Scripts Add to Favorite Scripts
//Created by Abdulla
study(title="Pivot Range", shorttitle="A_PivotR", overlay=true) 
sd = input(true, title="Show Monthly Pivots?")

//Pivot Range Calculations - Mark Fisher
pivot = (high + low + close ) / 3.0 
bc = (high + low ) / 2.0 
tc = (pivot - bc) + pivot

//Monthly Pivot Range 
mtime_pivot = security(tickerid, 'M', pivot[1]) 
mtime_bc = security(tickerid, 'M', bc[1]) 
mtime_tc = security(tickerid, 'M', tc[1]) 

offs_monthly = 0 
plot(sd and mtime_pivot ? mtime_pivot : na, title="Monthly Pivot",style=circles, color=fuchsia,linewidth=3) 
plot(sd and mtime_bc ? mtime_bc : na, title="Monthly BC",style=circles, color=blue,linewidth=3)
plot(sd and mtime_tc ? mtime_tc : na, title="Monthly TC",style=circles, color=blue,linewidth=3)
kkk
Reply
JRG Ozkanerer
Can you do this for a weekly?
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