M1:=3;
M2:=3;
RCF:=(2*CLOSE+HIGH+LOW)/4;
RCXX4:=LLV(LOW,34);
RCXX5:=HHV(HIGH,34);
RCXX6:=EMA((RCF-RCXX4)/(RCXX5-RCXX4)*100,6);
RCXX7:=EMA(0.667*REF(RCXX6,1)+0.333*RCXX6,4);
底现:=STICKLINE(IF(COUNT(CLOSE< REF(CLOSE,1),8)/8>0.3 AND COUNT(RCXX6>RCXX7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),1.5,0,6,0),COLORBLUE;
STICKLINE(IF(COUNT(CLOSE< REF(CLOSE,1),8)/8>0.3 AND COUNT(RCXX6>RCXX7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),-100,-35,2,0),COLORBLUE;
DRAWTEXT(底现,-54,' --准备见底'),COLORCYAN;
RC1S:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
RC4AS:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE< 1.01);
主力进场S:=(FILTER(RC4AS>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
A10S:=10;
LSS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升S:=FILTER(LSS,58);
STICKLINE(拉升S,-100,-35,2,0),COLORYELLOW;
DRAWTEXT(拉升S,-47,' --轻仓'),COLORCYAN;
DRAWICON(拉升S,-38.2,9);
RC1:=(CLOSE*2+HIGH+LOW)/1;
RC2:=EMA(RC1,3)-EMA(RC1,10);
RC3:=EMA(RC2,3);
主力抓牛:=2*(RC2-RC3)*3.8;
STICKLINE(主力抓牛>0,0,主力抓牛*10,3.2,1),COLORRED;
STICKLINE(主力抓牛< 0,0,主力抓牛*10,3.2,1),COLORGREEN;
RSVF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KF:=SMA(RSVF,3,1);
DF:=SMA(KF,3,1);
JF:=3*KF-2*DF,LINETHICK0;
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3);
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
五指AF:=WMA((能量线+RSI+JF-威廉WR+CCI)/3,3),COLORBROWN;
流通盘:=CAPITAL/1000000,COLOR7F00FF;
ZLCM:=EMA(WINNER(CLOSE)*90,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
大户线F:=INTPART(ZSHTL),COLORBLACK,LINETHICK2;
OUT666:=CROSS(五指AF,大户线F);
STICKLINE(OUT666,-100,-35,2,0),COLORWHITE;
DRAWTEXT(OUT666,-50,'--主力接力'),COLORRED;
RC3AP:=IF((CLOSE>REF(CLOSE,1)),88,0);
RC4AP:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (RC3AP>0),91,0);
异动:=(FILTER((RC4AP>90),45)),COLORYELLOW;
STICKLINE(异动,-100,-35,2,0),COLORGREEN;
DRAWTEXT(异动>0,-51,'--主力共振'),COLORRED;