强弱:EMA(COST(80),10),COLORRED,DOTLINE;
分界:EMA(COST(90),10),COLORGREEN,DOTLINE;
DRAWBAND(强弱,RGB(80,00,20),分界,RGB(60,60,18));
S1:=LOW>(REF(HIGH,1)+0.001);
S2:=BARSLAST(S1);
S3:=COUNT(L>REF(H,S2+1),S2+1)=S2+1;
MV10:=MA(V,10);
AVG_V:=(V-MV10)/MV10*100;
量差:=AVG_V-REF(AVG_V,1);
假阴:=C>REF(C,1) AND C
高开:=(O-REF(C,1))/REF(C,1)*100;
倍量:=V>REF(V,1)*1.69 AND V>REF(HHV(V,20),1);
振幅:=(H-L)/REF(C,1)*100;
ZF:=(C-REF(C,1))/REF(C,1)*100;
涨停:=C/REF(C,1)>1.06??;
三元:=EVERY(涨停,3) OR EVERY(涨停,2);
XG1:=REF(三元,1) AND 倍量;
XG2:=三元 AND 倍量;
XG0610:=三元 AND 量差>REF(HHV(量差,20),1);
XG2265:=REF(EVERY(涨停,2),1) AND 振幅>15 AND ZF>0.5 AND 倍量;
XG600352:=高开>=6 AND 假阴 AND REF(EVERY(涨停,2),1) AND 倍量;
XG3:=XG2 OR XG1 OR XG0610 OR XG2265 OR XG600352;
XGOK:=FILTER(XG3,2);
T:=BARSLAST(XGOK),COLORYELLOW,NODRAW;
Z1:=BARSLAST(CROSS(C,REF(C,T)));
PZ:=Z1>0 AND COUNT(MAX(C,O)>REF(C,T),Z1)=Z1 AND Z1<20 AND C/REF(C,1)>1.085;
PZ1:=FILTER(PZ>0,10);
PZ2:=FILTER(T>1 AND COUNT(MAX(C,O)>REF(C,T),T)=T AND T<20 AND C/REF(C,1)>1.085,10);
P3:=PZ1 OR PZ2;
总量:=AMOUNT;
量比:=V/REF(MA(V,5),1);
几倍:=1.9;
倍量量王:= 总量 >=REF(总量,1)*几倍 AND (IF(CREF(C,1),1)),COLORYELLOW,NODRAW;
天量:=总量=HHV(总量,120), COLORRED;
量王:=天量&&倍量量王&&量比>2&&(BARSCOUNT(C)+1)>120,COLORGREEN,LINETHICK1;
STICKLINE(量王,C,O,0.1,0),COLORGREEN;
DRAWLINE(量王,H,REF(量王,1),REF(H,1),1),COLOR0066BB,LINETHICK1;
量王支撑:DRAWLINE(量王,L,REF(量王,1),REF(L,1),1),COLORGREEN;
DRAWTEXT(ISLASTBAR,量王支撑,' 量王支撑线'),COLOR00F0F0;
{量王后划线--量王的第2天是高量。大概率是短顶。除非今天返包,真正突破要突破这一根线}
大额:=总量>REF(总量,1);
量王后:=REF(量王,1) AND 大额,COLORFF66CC,NODRAW;
量王后高:DRAWLINE(量王后,H,REF(量王后,1),REF(H,1),1),COLORMAGENTA,DOTLINE;{紫色-量王后最高价划线};
DRAWTEXT(ISLASTBAR,量王后高,' 量王后高'),COLOR00F0F0;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
主力线:=EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;
散户线:=EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
加仓:P3>0,COLORYELLOW,NODRAW;
做多:CROSS(MA(CLOSE,1),分界) AND 分界/REF(分界,1)>1.001,COLORRED,NODRAW;
DRAWKLINE(H,O,L,C);
DRAWICON(加仓,L*0.99,23);
DRAWICON(做多,L*0.99,42);