N:=14;
M:=9;
VOLUME:=MA(VOL,N)/VOL;
MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
EMV:MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,N),N);
MAEMV:MA(EMV,M);
DRAWBAND(EMV,RGB(255,215,0),MAEMV,RGB(255,255,255));
妖股: DRAWTEXT(REF(CROSS(EMV,MAEMV),1) AND EMV>1.5*MAEMV,EMV,'★伏击点'),COLORRED;