个股趋势:=MA(C,1)/MA(REF(C,18),18)*100;
大盘趋势:=MA(INDEXC,1)/MA(REF(INDEXC,18),18)*100;
位置:(个股趋势-大盘趋势),LINETHICK0;
STICKLINE(位置>=0,2,-2,10,0),COLORC0C0C0;
STICKLINE(位置<0,2,-2,10,0),COLORFF0000;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,POINTDOT;
STICKLINE(控盘<0,控盘,0,4,0),colorwhite;
无控盘:0,colorwhite;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;
有控盘: 0,colorred;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘0,控盘,0,4,0),COLOR00FF00;
出货: 0,COLOR00FF00;
STICKLINE(VAR2>50 AND COST(85)
高控盘: 0,COLORFF00FF;
A10:=CROSS(控盘,0);
开始控盘:IF(A10,3,0),coloryellow;
AA:=WINNER(CLOSE+CLOSE*15/100)*100;
BB:=WINNER(CLOSE+CLOSE*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
V1:=REF(C,1);
V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;
DRAWICON(IF(CROSS(81,V2),1,0),H*1.01,10),coloryellow;
AA1:=AMOUNT/V;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L
DRAWTEXT(FF1,L*0.99,' 老鼠仓'),coloryellow;
STICKLINE(FF1,H,L,0.5,0),colormagenta;
STICKLINE(FF1,O,C,7,0),colormagenta;