alexwang7777 發表於 10-6-11 17:50

忘了它是.......(參考看看吧)





//****** Copyright 9Trading.com ******
Plot(100,"",7,styleLine);
Plot(-100,"",7,styleLine);
n=9;
ys1=(High+Low+Close*2)/4;
rk3=EMA(ys1,n);
rk4=StDev(ys1,n);
rk5=(ys1-rk3)*100/rk4;
rk6=EMA(rk5,n);
UP=EMA(rk6,n);
DOWN=EMA(up,n);
Oo=IIf(up<down,up,down);
Hh=Oo;
Ll=IIf(up<down,down,up);
Cc=Ll;
barcolor2=IIf(Ref(oo,-1)<Oo AND Cc<Ref(Cc,-1),colorBlue,IIf(up>down,colorGreen,colorRed));
PlotOHLC( Oo,hh,ll,Cc, "Modified " + Name(), barcolor2, styleCandle );

aaqqww93 發表於 10-6-11 19:25

好東西謝謝
頁: [1]
查看完整版本: 忘了它是.......(參考看看吧)