myselfbtc

scorecard trading v1

usage
use this like a oscillator (for example RSI )
info
each time a indicator and condition is bullish it adds +1 if is not then it takes -1

i used the most used value for SMA but anyone can add more to have a rainbow/ribbon

for example
(iff( sma (close,30)>sma(close,30),1,-1))+
(iff( sma (close,40)>sma(close,40),1,-1))+

to have bars instead of a red line use
plot(stv1, linewidth=2, style=histogram, color = red)

snapshot
snapshot
snapshot
snapshot
snapshot
Remove from Favorite Scripts Add to Favorite Scripts
study(title="scorecard trading v1", shorttitle="ST v1", overlay=false)
stv1=(iff(close[0]>close[1],1,-1))+
    (iff(close[0]>sma(close,5)[0],1,-1))+ 
    (iff(sma(close,5)[0]>sma(close,5)[1],1,-1))+
    (iff(sma(close,10)[0]>sma(close,10)[1],1,-1))+
    (iff(sma(close,20)[0]>sma(close,20)[1],1,-1))+
    (iff(sma(close,50)[0]>sma(close,50)[1],1,-1))+
    (iff(sma(close,100)[0]>sma(close,100)[1],1,-1))+
    (iff(sma(close,200)[0]>sma(close,200)[1],1,-1))+
    (iff(sma(close,300)[0]>sma(close,300)[1],1,-1))
plot(stv1, linewidth=2, color = red)
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