sharktrade

pivot points by sharky

202 1 14
based on chart http://www.oilngold.com/data/charts/pivot-points-summary-200808241260/

homeworks
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study("pivot points by sharky")
price = open
L = low
H = high
C = close
P = ( H + C + L ) / 3
Res1 = 2 * P - L
Sup1 = 2 * P - H
Res2 = P + (Res1-Sup1)
Sup2 = P - (Res1-Sup1)
Res3 = H + 2*(P-L)
Sup3 = L - 2*(H-P)
plotcandle(open, high, low, close, title='Gold', color =  open > P ? red : green , wickcolor=black)
//plot(price,color=black,trackprice=true,linewidth=4)
plot(Res3,color=red,trackprice=true,linewidth=2)
plot(Res2,color=green,trackprice=true,linewidth=2)
plot(Res1,color=blue,trackprice=true,linewidth=2)
plot(Sup1,color=blue,trackprice=true,linewidth=2)
plot(Sup2,color=green,trackprice=true,linewidth=2)
plot(Sup3,color=red,trackprice=true,linewidth=2)
please double clic on indicator to see it ^^
Reply
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
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
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out