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;
DRAWTEXT(CROSS(85,VAR2),20,222),COLORCYAN;
STICKLINE(VAR4,0,20,3,0),COLORCYAN;
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);
买点雷达:(VAR5<20 AND VAR6<25 AND VAR7>50 AND VAR3<70)*30,COLOR0078FF,LINETHICK2;
VAR8:=CROSS(VAR2,25);
DRAWTEXT(VAR8,(-80),150),COLORWHITE;
STICKLINE(VAR8,(-100),(-80),3,0),COLORWHITE;
主力:ema((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORWHITE,LINETHICK3;
散户:EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,COLORCYAN,LINETHICK3;
VAR9:=CROSS(主力,散户) AND 主力<(-10);
DRAWICON(CROSS(VAR2,25),主力,26);
DRAWICON(CROSS(主力,散户) AND 主力<(-10),主力,23);
VAR10:=FILTER(COUNT(VAR8 OR VAR9,3)>=2,3);
STICKLINE(VAR10,0,50,4,1),COLORWHITE;
DRAWTEXT(VAR10,50,223),COLORWHITE;
STICKLINE(VAR9,0,20,3,0),COLORLIMAGENTA;
DRAWTEXT(VAR9,20,224),COLORLIMAGENTA;
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORLIMAGENTA;
主力筹码集中度:WINNER(CLOSE)*100,COLORBLUE;
DRAWTEXT(ISLASTBAR,1,HYBLOCK);