用于捕捉涨停股票,大家试试,各抒己见,共同探讨。
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
STICKLINE(上线 下线 , 上线,下线 ,2.5, 0),colorred,LINETHICK2;
STICKLINE(下线 上线,上线,下线,2.5,0),coloryellow,LINETHICK2;
DRAWTEXT( CROSS(上线,下线),LOW *0.95,' 全仓' ),coloryellow;
DRAWTEXT(CROSS(下线1,上线1),H*1.02,'减仓'),coloryellow;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,colorgreen,LINETHICK2;
A7:=(2*C+H+L)/4;
操作:MA(A7,5),LINETHICK2;
操作1:=MA(A7,5)*1.03,colorred,LINETHICK2;
操作2:=MA(A7,5)*0.97,colorgreen,LINETHICK2;
VAR1:LLV(A7,21);
VAR2:HHV(A7,21),colorgreen;
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
STICKLINE(CROSS(下线1,上线1),VAR1,VAR2,1, 0),colorblue;
STICKLINE( CROSS(上线,下线), VAR1,VAR2,1, 0),coloryellow;
DRAWTEXT( CROSS(下线1,上线1), VAR2,'全出') ,colorgreen,LINETHICK2;
DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),8)/8 6/10 AND VOL =1.5*MA(VOL,5) AND
COUNT(SK =SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进') ,COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10 AND
COUNT(SK SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE =OPEN,4) AND
REF(CLOSE OPEN,3) AND REF(CLOSE OPEN,2) AND REF(OPEN CLOSE,1) AND
OPEN REF(CLOSE,1),1,0),LOW*0.98,'买进') ,coloryellow;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE D AND VOL/240 MA(VOL,5)/240 AND CLOSE REF(CLOSE,1)*1.08
AND CLOSE MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),coloryellow;
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
AA:3*Q3-2*Q4, ,COLOR7FFF00;
Q5:=AA 1*REF(AA, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(AA,5);
A1:EMA(Q3, 3) , COLORFFDDCC;
A2:EMA(A1, 3) , COLORFFBBCC;
A3:EMA(A2, 3) , COLORFF99CC;
A4:EMA(A3, 3) , COLORFF55CC;
A5:EMA(A4, 3) , COLORFF33CC;
A6:EMA(A5, 3) , COLORFF11CC;
A:EMA(A4, 3), , COLORFF00CC;
DRAWTEXT(CROSS(AA, 20) AND Q10 -13,10,'*大底'), COLOR00FF00;
DRAWTEXT(CROSS(AA, A5) AND REF(AA,1) 34,REF(AA,1),'*发财了'), colorred;
DRAWTEXT(CROSS(A1, AA) AND REF(AA,1) 80, REF(AA,3), '*闪人'), COLORCFB53B;
DRAWTEXT(CROSS(AA, A1) AND Q5 AND A1 20 AND Q1 9 OR A1 1*REF(A1, 1)
AND Q1 4 AND A1 60, 30, '拉'), COLORFFFFCC;