短线进出
2015-11-24 13:20:49点击:
v1:=(C-MA(C,13))/MA(C,13)*(-100);
下降线:EMA(v1/10+EMA(C,10),3);
趋势:LLV(EMA(H,3),1);
中轨:HHV(EMA(H,3),3),colorred,linethick2;
f:=100*(C-REF(C,1))/REF(C,1);
var1:=IF(C<REF(O,1) AND f<0,1,0);
var2:=IF(C<REF(O,2) AND f<0,1,0);
var3:=(var1=0 AND REF(var1,1)=1 AND var2=0 AND REF(var2,1)=1 );
红k:=IF(var3 ,L,H),colorred,POINTDOT;
STICKLINE( var3,OPEN,C,5,0),colorred;
vv:= STICKLINE(var1=1 AND REF(var1,1)=0 AND var2=1 AND REF(var2,1)=0 ,O,C,3,0),coloryellow;
rsv:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
k:=SMA(rsv,3,1);
d:=SMA(k,3,1);
j:=(3*k-2*d);
p:=(H+C+L)/3;
var5:= j>REF(j,1) AND j<REF(j,3) AND j<k AND j<40 AND k>REF(k,1);
DRAWTEXT(var3 AND var5, L*0.98,'买'),colorwhite;
DRAWICON(FILTER(j<REF(j,1) AND j>80 AND k<REF(k,1),8),H*1.01,2);
a1:=REF(C,3)=HHV(C,10);
b1:=FILTER(a1,3);
c1:=BACKSET(b1,4);
hd:=FILTER(c1,3);
a2:=REF(C,3)=LLV(C,10);
b2:=FILTER(a2,3);
c2:=BACKSET(b2,4);
ld:=FILTER(c2,3);
a:=REF(C,BARSLAST(hd));
b:=REF(C,BARSLAST(ld));
t1:=BARSLAST(hd)>BARSLAST(ld) AND NOT(ld);
t2:=BARSLAST(hd)<BARSLAST(ld) AND NOT(hd);
峰:IF(t2,a,a),colorff00ff,POINTDOT;
STICKLINE(t2 ,a,a,5,0),colorff00ff;
谷:IF(t1,b,b),color80ff00,POINTDOT;
STICKLINE(t1,b,b,5,0),color80ff00 ;
va1:=MA(C,3)=HHV(MA(C,3),7) ;
va2:= MA(C,3)>MA(C,5) ;
va3:= MA(C,5)>MA(C,10)*1.01 ;
va4:= COUNT(MA(C,1)>REF(C,1),2)=2;
DRAWTEXT(FILTER(va1 AND va2 AND va3 AND va4 AND f>3,1) ,H*1.02,'出'),colorwhite;
va5:=MA(C,3)=LLV(MA(C,3),7) AND MA(C,3)<MA(C,5) AND MA(C,5)*1.02<MA(C,10) AND j>REF(j,1) AND j<REF(j,3);
va6:=(FILTER(va5,5));
DRAWTEXT(va6,L*0.98,'$')
- 上一篇:MACD二次金叉和背离 2015/11/24
- 下一篇:SY操盘线 2015/11/24