Page 1 of 1

Ersoy intersection

PostPosted: Fri Feb 09, 2018 8:34 am
by isamegrelo
Source: https://www.tradingview.com/script/6utD ... tersection

code:

study("Ersoy-Kesişme")
plot(close,title="Close")
short = sma(close,1)
long = sma(close,21)
plot(short, color = lime,title="Short",style = areabr)
plot(long, color = red,title="long",style =areabr)
plot(cross(short, long) ? long : na,color=blue,style = cross, linewidth = 3,title="Kesişme")
src = close, len = 1
out = sma(src, len)
out1 = security(tickerid, 'D', out)
plot(out1,color=blue,title="Günlük-Days",linewidth = 3)
out2 = security(tickerid, 'W', out)
plot(out2,color=red,title="Haftalık-Weekly",linewidth = 3)
out3 = security(tickerid, 'M', out)
plot(out3,color=lime,title="Aylık-Mountly",linewidth = 3)

Re: Ersoy intersection

PostPosted: Fri Feb 09, 2018 11:58 am
by Apprentice