LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点监控:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(85,RSI1),35,'卖'),COLOR00FF00;
STICKLINE(卖点监控,0,20,3,0),COLOR00FF00;
UVARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
UVARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
UVARD:=BARSCOUNT(CLOSE);
主力监控:(UVARB< 20 AND UVARC< 25 AND UVARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;
ZB1:=CROSS(RSI1,25);
DRAWTEXT(ZB1,-68,'底'),COLOR0000FF;
STICKLINE(ZB1,-100,-80,3,0),COLOR0000FF;
主力线:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;
散户线:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORC87800;
ZB2:=CROSS(主力线,散户线) AND 主力线<-10;
DRAWICON(CROSS(RSI1,25),主力线,26);
ZB:=FILTER(COUNT(ZB1 OR ZB2,3)>=2,3);
STICKLINE(ZB,0,50,4,1),COLOR0000FF;
DRAWTEXT(ZB,58,'金底'),COLORYELLOW;
STICKLINE(ZB2,0,20,3,0),COLORFF00FF;
DRAWTEXT(ZB2,35,'买'),COLORFF00FF;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*50;
低吸:IF(CROSS(RSI,11),50,0),COLORMAGENTA,POINTDOT;
STICKLINE(低吸,36,0,4,1), , COLORMAGENTA;
DRAWTEXT(低吸,36,'低吸'),COLORMAGENTA;