VARA:=EMA(C,5);
VARC:=EMA(IF(L>=VARA,VARA,0),5);
VARD:IF(VARC>100,VARC,VARC);
顶部发作:VARD,COLORRED;
VARE:=EMA(IF(H<=VARA,VARA,0),5);
VARF:IF(VARE<100,VARE,VARE);
底部发作:VARF,COLORGREEN;
VARA:=EMA(C,5);
VARC:=EMA(IF(L>=VARA,VARA,0),5);
VARD:IF(VARC>100,VARC,VARC);
顶部发作:VARD,COLORRED;
VARE:=EMA(IF(H<=VARA,VARA,0),5);
VARF:IF(VARE<100,VARE,VARE);
底部发作:VARF,COLORGREEN;