{主力筹码买点雷达}
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),COLORGREEN;
STICKLINE(VAR4,0,20,3,0),COLORGREEN;
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),COLORRED;
STICKLINE(VAR8,(-100),(-80),3,0),COLORRED;
主力:EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORRED,LINETHICK3;
散户:EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,COLORGREEN,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),COLORRED;
DRAWTEXT(VAR10,50,223),COLORRED;
STICKLINE(VAR9,0,20,3,0),COLORMAGENTA;
DRAWTEXT(VAR9,20,224),COLORMAGENTA;
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA;
主力筹码集中度:WINNER(CLOSE)*100,COLORYELLOW;
DRAWTEXT(ISLASTBAR,1,HYBLOCK);