VAR1:MA(CLOSE,5);
VAR2:MA(CLOSE,10);
VAR3:MA(CLOSE,30);
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
VAR19:=OPEN;
VAR1A:=CLOSE;
均线粘合:VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0 NODRAW;
粘合:STICKLINE(均线粘合 ,VAR3+3,VAR3,1,0),COLORMAGENTA;
DRAWTEXT(均线粘合,VAR3,'★均线粘合'),COLOR6F27FF;