只做强势股回踩,只做强势股回踩,只做强势股回踩
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=C =REF(C,1)*1.098;
五日内有涨停:=REF(涨停,3)=1 AND REF(涨停,2)=1 OR REF(涨停,4)=1 AND REF(涨停,3)=1 OR REF(涨停,4)=1 AND REF(涨停,5)=1 OR REF(涨停,5)=1 AND REF(涨停,6)=1;
STICKLINE(涨停,0,5,6,0),coloryellow;
DRAWTEXT(涨停,8,'涨停'),coloryellow;
MA13:=MA(C,13),colorgray;
MA21:=MA(C,21),colorwhite;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线 震仓线2 AND REF(操作线,1) 震仓线2 ;
PP:=操作线 震仓线 AND REF(操作线,1) 震仓线 ;
PP3:=操作线 抄底线 AND REF(操作线,1)
HH:=COUNT(涨停,13)
STICKLINE(PP2 AND HH AND 五日内有涨停,0,5,3,0),colorred;
STICKLINE(PP AND HH AND 五日内有涨停,0,5,3,0),colorred;
STICKLINE(PP3 AND HH AND 五日内有涨停,0,5,3,0),colorred;
DRAWTEXT(PP2 AND HH AND 五日内有涨停,8,'预警'),colorred;
DRAWTEXT(PP AND HH AND 五日内有涨停,8,'预警'),colorred;
DRAWTEXT(PP3 AND HH AND 五日内有涨停,8,'预警'),colorred;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH AND 五日内有涨停) OR (A AND REF(PP3,1) AND HH AND 五日内有涨停)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH AND 五日内有涨停,0,10,1,0),colorgreen;
DRAWICON(A AND REF(PP,1) AND HH AND 五日内有涨停,12,1),colorgreen;
STICKLINE(A AND REF(PP3,1) AND HH AND 五日内有涨停,0,10,1,0),colorgreen;
DRAWICON(A AND REF(PP3,1) AND HH AND 五日内有涨停,12,1),colorgreen;