短线炒股买卖点
2016-7-29 17:24:06点击:
短线炒股买卖点自动显示,可在60min上按指示点不间断连贯操作。
MA1:=MA(C,1);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA2:=MA(C,2);
MA60:=MA(C,60);
Lb:=VOL/MA(VOL,12)*100;
x1:=ABS(MA(C,10)/MA(C,20)-1)<0.09;
x2:=ABS(MA(C,5)/MA(C,10)-1)<0.09;
x3:=ABS(MA(C,5)/MA(C,20)-1)<0.09;
x4:=ABS(MA(C,5)/MA(C,30)-1)<0.09;
aa:=MA(C,5)>REF(MA(C,5),1);
bb:=MA(C,10)>REF(MA(C,10),1);
Cc:=MA(C,5)>MA(C,10);
in:=Lb>70 AND CROSS(MA1,MA5);
Ou:=Lb>70 AND CROSS(MA5,MA1);
xg:MA5>MA10 AND MA10>MA30 AND MA5>REF(MA5,1) AND REF(MA10,1)>REF(MA10,2) AND MA10>REF(MA10,1) AND MA30>REF(MA30,1);
DRAWTEXT((xg<=0 AND Lb>70 AND CROSS(MA5,MA1) ),MA(L,1)+4,'卖'),colorgreen;
DRAWTEXT((xg>0 AND Lb>70 AND CROSS(MA1,MA5)),MA(L,1)+4,'买'),colorred;
DRAWTEXT((xg<=0 AND Lb>70 AND CROSS(MA1,MA5) ) ,MA(L,1)+4,'买'),colorred;
DRAWTEXT(( xg>0 AND Lb>70 AND CROSS(MA5,MA1) ) ,MA(L,1)+4,'卖'),colorgreen;
STICKLINE(in>0 ,0,MA(L,1)-2,2,0),colorred;
STICKLINE(Ou>0,0,MA(L,1)-2,2,0),colorgreen;
STICKLINE(xg>0,MA(L,1)-2,MA(L,1)-1,5,0),colorred;
STICKLINE(xg=0,MA(L,1)-2,MA(L,1)-1,5,0),colorgreen;