多:=LLV((H+L+O+2*C)/5*2-H,8),colorff0000,LINETHICK1,nodraw;
活跃:=SMA(MAX(C-REF(C,1),0),3,1)/SMA(Abs(C-REF(C,1)),3,1)*100-100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3)),COLORFF00FF,nodraw;//活跃分0-68-78-100
PARTLINE(多,活跃<0,colorffffff,活跃>0,Color0000ff),LINETHICK1;
DRAWTEXT(BArslASTCOUNT(C>=REF(C,4)),多,TOSTRING(BARSLASTCOUNT(C>=REF(C,4)),0)),COLOR00eeFF;
DRAWTEXT(BARSLASTCOUNT(C<REF(C,4)),多,TOSTRING(BARSLASTCOUNT(C<REF(C,4)),0)),colorffff00;//九转序
STICKLINE(C>=O,H,L,1,0),color0000ff;
STICKLINE(C>=O,C,O,9,0),color0000ff;
STICKLINE(C<O,H,L,1,0),colorffff00;
STICKLINE(C<O,C,O,9,0),colorffff00;
JJ:=(CLOSE+HIGH+LOW)/3;
短:=EMA(JJ,7),Color00ff00,LINETHICK3,nodraw;
短线:IF(短>=REF(短,1),短,DRAWNULL),color00ff00,LINETHICK2,crOSSDOT;
MA20:=MA(C,20),color00ffff,LINETHICK1,nodraw;
M20:IF(M20>=REF(M20,1),MA20,DRAWNULL),color00ffff,LINETHICK2,CROSSDOT;
M30:MA(C,30),color00ff00,LINETHICK3,POINTDOT;
角30:ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.1416,nodraw,colorgreen;
上:MA(C,20)+2*STD(C,20),LINETHICK1,color00ffff,nodraw;//boll用法
PARTLINE(上,上<REF(上,1),colorbbbb00,上>=REF(上,1),color00ffff),LINETHICK1;
抛:MA(C,20)+3.2*STD(C,20),LINETHICK1,coloraaaaaa,DOTLINE;
压:HHV(EMA(REF(CLOSE,1),2),13),colorff0000,LINETHICK2;
VAR13:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR13-REF(VAR13,1))/REF(VAR13,1)*1000,color00ffff,nodraw;
有庄控盘:= 控盘>REF(控盘,1) AND 控盘>0,colorred;
VAR23:=100*WINNER(CLOSE*0.95);
主力出货:=控盘<REF(控盘,1) AND 控盘>0,COLOR00FF00;
高度控盘:= VAR23>50 AND COST(85)<CLOSE AND 控盘>0,COLORFF00FF;
DRAWGBK(有庄控盘,STRIP(Color000022,Color000033,1));
DRAWGBK(高度控盘,STRIP(Color220022,Color330033,1));
DRAWGBK(主力出货,STRIP(Color002200,Color003300,1));
MA18:=MA(CLOSE,18);
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(买=1,5),LOW*0.975,'精准买'),color0099ff;
加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);
DRAWTEXT(加1,LOW,'精准加'),COLORCC66FF;
卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
DRAWTEXT(FILTER(卖一=1,1),抛,'★精准卖'),color0099ff;
多头:=IF(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30),多,DRAWNULL),Color0000ff,POINTDOT,LINETHICK3;
向上:IF(MA(C,5)>=REF(MA(C,5),1) AND MA(C,10)>=REF(MA(C,10),1) AND MA(C,20)>=REF(MA(C,20),1) AND MA(C,30)>=REF(MA(C,30),1),多,DRAWNULL),Color0099ff,CROSSDOT,Linethick2;
多上:IF(多头 AND 向上,多,DRAWNULL),Color0000ff,CROSSDOT,Linethick2;