VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(Abs(CLOSE-VAR1),6,1)*100;
VAR3:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
VAR4:=crOSS(85,VAR2)*30,COLOR00FF00,LINETHICK2;
VAR5:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
VAR6:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;
VAR7:=BARSCOUNT(CLOSE);
VAR8:=CROSS(VAR2,25);
VAR9:=WINNER(C)*100;
DRAWTEXT(CROSS(85,VAR2),65,'卖出'),COLOR00FF00;
STICKLINE(VAR4,0,20,3,0),COLOR00FF00;
主力吸筹:(VAR5<20 AND VAR6<25 AND VAR7>50 AND VAR3<70)*30,LINETHICK2,COLORWHITE;
DRAWTEXT(VAR8,-50,'银底'),COLOR0000FF;
STICKLINE(VAR8,0,-20,3,0),COLOR0000FF;
DRAWTEXT(主力吸筹=30,40,'吸筹'),COLORWHITE;
主:EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK2,COLOR0000FF;
散:EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORGREEN;
VAR16:=CROSS(主,散) AND 主<-10;
VAR18:=FILTER(COUNT(VAR8 OR VAR16,3)>=2,3);
二十日获利最高:HHV(VAR9,20),LINETHICK2,COLORYELLOW;
STICKLINE(VAR18,0,50,4,1),COLOR0000FF;
DRAWTEXT(VAR18,60,'金底'),COLORYELLOW;
STICKLINE(VAR16,0,20,3,0),COLORFF00FF;
DRAWTEXT(VAR16,40,'铁底'),COLORFF00FF;