myselfbtc

scorecard trading 3bars v1

for context read
scorecard trading v1


snapshot
snapshot

Remove from Favorite Scripts Add to Favorite Scripts
study(title="scorecard trading 3b v1", shorttitle="ST 3b v1", overlay=false)
stv3bv1=(iff(close[0]>close[1] and close[1]>close[2],1,-1))+
    (iff(close[0]<close[1] and close[1]<close[2],-1,1))+
    (iff(sma(close,5)[0]>sma(close,5)[1] and sma(close,5)[1]>sma(close,5)[2],1,-1))+
    (iff(sma(close,5)[0]<sma(close,5)[1] and sma(close,5)[1]<sma(close,5)[2],-1,1))+
    (iff(sma(close,10)[0]>sma(close,10)[1] and sma(close,10)[1]>sma(close,10)[2],1,-1))+
    (iff(sma(close,10)[0]<sma(close,10)[1] and sma(close,10)[1]<sma(close,10)[2],-1,1))+
    (iff(sma(close,20)[0]>sma(close,20)[1] and sma(close,20)[1]>sma(close,20)[2],1,-1))+
    (iff(sma(close,20)[0]<sma(close,20)[1] and sma(close,20)[1]<sma(close,20)[2],-1,1))+
    (iff(sma(close,50)[0]>sma(close,50)[1] and sma(close,50)[1]>sma(close,50)[2],1,-1))+
    (iff(sma(close,50)[0]<sma(close,50)[1] and sma(close,50)[1]<sma(close,50)[2],-1,1))+
    (iff(sma(close,100)[0]>sma(close,100)[1] and sma(close,100)[1]>sma(close,100)[2],1,-1))+
    (iff(sma(close,100)[0]<sma(close,100)[1] and sma(close,100)[1]<sma(close,100)[2],-1,1))+
    (iff(sma(close,200)[0]>sma(close,200)[1] and sma(close,200)[1]>sma(close,200)[2],1,-1))+
    (iff(sma(close,200)[0]<sma(close,200)[1] and sma(close,200)[1]<sma(close,200)[2],-1,1))+
    (iff(sma(close,300)[0]>sma(close,300)[1] and sma(close,300)[1]>sma(close,300)[2],1,-1))+
    (iff(sma(close,300)[0]<sma(close,300)[1] and sma(close,300)[1]<sma(close,300)[2],-1,1))
   
plot(stv3bv1, linewidth=2, color = red)
hline(0, color=white, linestyle=line)
hline(12, color=white, linestyle=line)
hline(-12, color=white, linestyle=line) 
by request
snapshot


study(title="scorecard trading 3b v1.1", shorttitle="ST 3b v1.1", overlay=false)
stv3bv1=(iff(close>close and close>close,1,-1))+
(iff(close<close and close<close,-1,1))+
(iff(sma(high,5)>sma(high,5) and sma(high,5)>sma(high,5),1,-1))+
(iff(sma(low,5)<sma(low,5) and sma(low,5)<sma(low,5),-1,1))+
(iff(sma(high,10)>sma(high,10) and sma(high,10)>sma(high,10),1,-1))+
(iff(sma(low,10)<sma(low,10) and sma(low,10)<sma(low,10),-1,1))+
(iff(sma(high,20)>sma(high,20) and sma(high,20)>sma(high,20),1,-1))+
(iff(sma(low,20)<sma(low,20) and sma(low,20)<sma(low,20),-1,1))+
(iff(sma(high,50)>sma(high,50) and sma(high,50)>sma(high,50),1,-1))+
(iff(sma(low,50)<sma(low,50) and sma(low,50)<sma(low,50),-1,1))+
(iff(sma(high,100)>sma(high,100) and sma(high,100)>sma(high,100),1,-1))+
(iff(sma(low,100)<sma(low,100) and sma(low,100)<sma(low,100),-1,1))+
(iff(sma(high,200)>sma(high,200) and sma(high,200)>sma(high,200),1,-1))+
(iff(sma(low,200)<sma(low,200) and sma(low,200)<sma(low,200),-1,1))+
(iff(sma(high,300)>sma(high,300) and sma(high,300)>sma(high,300),1,-1))+
(iff(sma(low,300)<sma(low,300) and sma(low,300)<sma(low,300),-1,1))

plot(stv3bv1, linewidth=2, color = red)
hline(0, color=white, linestyle=line)
hline(12, color=white, linestyle=line)
hline(-12, color=white, linestyle=line)
+1 Reply
myselfbtc myselfbtc
for some reason code got borked
Reply
myselfbtc myselfbtc
scorecard trading 3b v1.1
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