F:IF(C 中,C*REF(下,1)*下/2,IF(C 中,C*REF(中,1)*中/2,0));
AAW:=MA(F,5);
通1W:=AAW*102/100;
通2W:AAW*(200-102)/100;
CCW:=ABS(F-MA(F,20))/MA(F,20);
DDW:=DMA(F,CCW);
上W:(1+7/100)*DDW,CIRCLEDOT,COLORYELLOW;
下W:(1-7/100)*DDW,CIRCLEDOT,COLORGREEN;
中W:(上W+下W)/2,CIRCLEDOT,COLORMAGENTA;
底W:下W-(中W-下W),CIRCLEDOT,COLORYELLOW;
CU:=CROSS(F,通2W);
AU:=CROSS(F,下W);
DRAWTEXT(AU,F,'变'),COLORGREEN;