myselfbtc

scorecard trading v3

for info read

Skrypt open-source

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Chcesz użyć tego skryptu na wykresie?
study(title="scorecard trading v3", shorttitle="ST v3", overlay=false)
stv3=(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,15)[0]>sma(close,15)[1],1,-1))+
    (iff(sma(close,20)[0]>sma(close,20)[1],1,-1))+
    (iff(sma(close,25)[0]>sma(close,25)[1],1,-1))+
    (iff(sma(close,30)[0]>sma(close,30)[1],1,-1))+
    (iff(sma(close,35)[0]>sma(close,35)[1],1,-1))+
    (iff(sma(close,40)[0]>sma(close,40)[1],1,-1))+
    (iff(sma(close,45)[0]>sma(close,45)[1],1,-1))+
    (iff(sma(close,50)[0]>sma(close,50)[1],1,-1))+
    (iff(sma(close,55)[0]>sma(close,55)[1],1,-1))+
    (iff(sma(close,60)[0]>sma(close,60)[1],1,-1))+
    (iff(sma(close,65)[0]>sma(close,65)[1],1,-1))+
    (iff(sma(close,70)[0]>sma(close,70)[1],1,-1))+
    (iff(sma(close,75)[0]>sma(close,75)[1],1,-1))+
    (iff(sma(close,80)[0]>sma(close,80)[1],1,-1))+
    (iff(sma(close,85)[0]>sma(close,85)[1],1,-1))+
    (iff(sma(close,90)[0]>sma(close,90)[1],1,-1))+
    (iff(sma(close,95)[0]>sma(close,95)[1],1,-1))+
    (iff(sma(close,100)[0]>sma(close,100)[1],1,-1))+
    (iff(sma(close,105)[0]>sma(close,105)[1],1,-1))+
    (iff(sma(close,110)[0]>sma(close,110)[1],1,-1))+
    (iff(sma(close,115)[0]>sma(close,115)[1],1,-1))+
    (iff(sma(close,120)[0]>sma(close,120)[1],1,-1))+
    (iff(sma(close,125)[0]>sma(close,125)[1],1,-1))+
    (iff(sma(close,130)[0]>sma(close,130)[1],1,-1))+
    (iff(sma(close,135)[0]>sma(close,135)[1],1,-1))+
    (iff(sma(close,140)[0]>sma(close,140)[1],1,-1))+
    (iff(sma(close,145)[0]>sma(close,145)[1],1,-1))+
    (iff(sma(close,150)[0]>sma(close,150)[1],1,-1))+
    (iff(sma(close,155)[0]>sma(close,155)[1],1,-1))+
    (iff(sma(close,160)[0]>sma(close,160)[1],1,-1))+
    (iff(sma(close,165)[0]>sma(close,165)[1],1,-1))+
    (iff(sma(close,170)[0]>sma(close,170)[1],1,-1))+
    (iff(sma(close,175)[0]>sma(close,175)[1],1,-1))+
    (iff(sma(close,180)[0]>sma(close,180)[1],1,-1))+
    (iff(sma(close,185)[0]>sma(close,185)[1],1,-1))+
    (iff(sma(close,190)[0]>sma(close,190)[1],1,-1))+
    (iff(sma(close,195)[0]>sma(close,195)[1],1,-1))+
    (iff(sma(close,200)[0]>sma(close,200)[1],1,-1))+
    (iff(sma(close,205)[0]>sma(close,205)[1],1,-1))+
    (iff(sma(close,210)[0]>sma(close,210)[1],1,-1))+
    (iff(sma(close,215)[0]>sma(close,215)[1],1,-1))+
    (iff(sma(close,220)[0]>sma(close,220)[1],1,-1))+
    (iff(sma(close,225)[0]>sma(close,225)[1],1,-1))+
    (iff(sma(close,230)[0]>sma(close,230)[1],1,-1))+
    (iff(sma(close,235)[0]>sma(close,235)[1],1,-1))+
    (iff(sma(close,240)[0]>sma(close,240)[1],1,-1))+
    (iff(sma(close,245)[0]>sma(close,245)[1],1,-1))+
    (iff(sma(close,250)[0]>sma(close,250)[1],1,-1))+
    (iff(sma(close,255)[0]>sma(close,255)[1],1,-1))+
    (iff(sma(close,260)[0]>sma(close,260)[1],1,-1))+
    (iff(sma(close,265)[0]>sma(close,265)[1],1,-1))+
    (iff(sma(close,270)[0]>sma(close,270)[1],1,-1))+
    (iff(sma(close,275)[0]>sma(close,275)[1],1,-1))+
    (iff(sma(close,280)[0]>sma(close,280)[1],1,-1))+
    (iff(sma(close,285)[0]>sma(close,285)[1],1,-1))+
    (iff(sma(close,290)[0]>sma(close,290)[1],1,-1))+
    (iff(sma(close,295)[0]>sma(close,295)[1],1,-1))+
    (iff(sma(close,300)[0]>sma(close,300)[1],1,-1))
plot(stv3, linewidth=2, color = red)

Powiązane pomysły