趋势A:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN,LINETHICK2;
趋势B:=SMA(趋势A,3,1),COLOR00FFFF, LINETHICK2;
STICKLINE(趋势A>=90,102,112,1,0),COLOR00FFFF;
STICKLINE(趋势A>=80,102,107,1,0),COLORFFFF00;
股价趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
顶部警戒:90-20,COLORFFBB66,LINETHICK2;
卖出警戒:STICKLINE(股价趋势>=85,80,60,2,0),COLORMAGENTA,LINETHICK2;
止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),80,58,3,0),COLORFFF666,LINETHICK5;
主力资金:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3)/2, COLORRED,LINETHICK2;
即将爆发线:= 65/2,COLOR00FF00;
起爆线:80/2,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(主力资金,起爆线),80/2,'◆') ,COLORYELLOW;
DRAWTEXT(ISLASTBAR=1,主力资金,' 主力资金'),COLORRED;
N:=9;M1:=3;M2:=3;
JJ :=(C*3+H+L)/4;
SKK:=(EMA(JJ,13) - EMA(JJ,21))*100,COLORFFFFFF;
SDD:=EMA(SKK,2),COLORFFFF80;
多:=(SKK-SDD)*0.000000001,COLOR8080FF,NODRAW;
空:=-1*(SKK-SDD)*0.000000001,COLORGREEN,NODRAW;
RC:=0{DYNAINFO(3),COLORWHITE};
SK:=(SLOPE(EMA(JJ,2),7)*15+JJ),COLORRED;
SD:=EMA(SK,2),COLORGREEN;
SJ:=2.8*SK-1.8*SD,COLORYELLOW;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:2*(S2-S6)*15*4*1.5,NODRAW,COLORFF8080;
小人快跑:CROSS(0,DK),NODRAW,COLORFFFF80;
DRAWTEXT_FIX(C>O,1,1,0,''),COLORRED;
DRAWICON(小人快跑,1.5,15);
买:IF(SK>SD AND (DK<RC OR DK=RC),1,0),COLORFF00FF,NODRAW;
买1:IF(CROSS(多,空),1,0),COLORYELLOW,NODRAW;
STICKLINE(SK>SD AND DK<0 OR DK=RC,RC,RC+DK,3,1),COLORFF00FF,LINETHICK3;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,2,0),COLOR8080FF;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2,0),COLORFFAA66;
STICKLINE(DK>0 AND 多<空,RC,RC+DK,2,0),COLOR00B000;
STICKLINE(CROSS(多,空),RC,RC+DK,1.5,0),COLORYELLOW;
STICKLINE(CROSS(空,多),RC,RC+DK,2,0),COLOR00B000;
STICKLINE(DK<0 AND 多<空 AND SK<SD,RC,RC+DK,2,1),COLOR00FF00;
STICKLINE(DK<0 AND 多>空 AND SK<SD,RC,RC+DK,2,1),COLOR0000FF;
买入:(DK>REF(DK,1)*5) AND DK>8 AND REF(DK,1)>-0.5,NODRAW,COLOR6899FF;
DRAWICON(买入,-5,5);
VARK4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
VARK5:=ABS(VARK4),COLORGREEN;
A111:=COST(85);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
单峰密集:=A333/A444*100<30,LINETHICK0;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A444-B2);
低位:=A444<(B3*04+B2),LINETHICK0;
低位单峰密集:=单峰密集 AND 低位;
B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;
启爆:=主力持仓大于75% AND 低位单峰密集 AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;
爆:=CROSS(VARK5,10) AND 启爆;
DRAWICON(爆,40,25);
DRAWTEXT(爆,40,'<----天下无敌'),COLORYELLOW;
X_1:=IF(CLOSE>REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0);
X_3:=FILTER(X_2>90,45);
STICKLINE(X_3,23,18,3,0),COLORRED;
STICKLINE(X_3,23,18,2,0),COLORYELLOW;
STICKLINE(X_3,21,18,1,0),COLORMAGENTA;
DRAWTEXT(X_3,22,12),COLORYELLOW;
VARX4AA:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);
游资进场:=(FILTER(VARX4AA>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
STICKLINE(游资进场,-40,-16,6,0),COLORBLUE;
LSX:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升X:=FILTER(LSX,28);
STICKLINE(拉升X,-40,-18,-0.5,0)COLORGREEN;
DRAWTEXT(拉升X,-40,' 芝麻开花'),COLORGREEN;
DRAWICON(拉升X,-26,9);
DRAWICON(游资进场=8,-44,-34);
DRAWICON(游资进场=8,-30,-33);
DRAWICON(游资进场=8,-14,-18);
DRAWTEXT(游资进场=8,-26,' 要拉一波'),COLORCYAN;
ROC:80+100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12),COLORWHITE;
18+80;
35+80;
VA:=IF((CLOSE>REF(CLOSE,1)),88,0);
AR:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VA>0),91,0);
大胆搏:FILTER((AR>90),45)*20,COLORWHITE;