ZTB:=(C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105) OR (C/REF(C,1)>=1.195 AND
C/REF(C,1)<=1.205) OR (C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305) AND C=H;
AMOV:=AMOUNT*(O+C)/2;
AMV1:=SUM(AMOV,21)/SUM(AMOUNT,21);
AMV2:=SUM(AMOV,55)/SUM(AMOUNT,55);
AMV3:=SUM(AMOV,144)/SUM(AMOUNT,144);
AMV4:=SUM(AMOV,377)/SUM(AMOUNT,377);
AMV5:=SUM(AMOV,34)/SUM(AMOUNT,34);
AMV6:=SUM(AMOV,89)/SUM(AMOUNT,89);
AMV7:=SUM(AMOV,233)/SUM(AMOUNT,233);
成本线:=(AMV1+AMV2+AMV3+AMV4+AMV5+AMV6+AMV7)/7;
强势线:=1.06*成本线,COLORRED;
XG:=ZTB AND REF(NOT(ZTB),1) AND C>强势线 AND
((C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105 AND REF(C/强势线<1.05,1)) OR
(C/REF(C,1)>=1.195 AND C/REF(C,1)<=1.205 AND REF(C/强势线<1.10,1)) OR
(C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305 AND REF(C/强势线<1.15,1))) AND C/O>1.009;
顶层红柱:crOSS(XG,0.5),COLORRED;