DING:=MAX(O,C);{实顶}DI:=MIN(O,C);{实底}YANG:=(DI>=REF(DING,1) AND C
O) OR (C>REF(C,1) AND C=O);{}YIN:=(C=REF(DING,1))) OR (C[=REF(DING,BAAST(YIN)) AND (V>REF(V,BARSLAST(YIN)) OR (BETWEEN(V,REF(V,BARSLAST(YIN))*0.975,REF(V,BARSLAST(YIN))*1.025))),NODRAW;DRAWTEXT(YANGSHENG AND REF(NOT(YANGSHENG),1),L*0.99,'△'),COLORRED;DRAWTEXT(YANGSHENG AND REF(NOT(YANGSHENG),1) AND V][REF(V,BARSLAST(YANG)));DRAWTEXT(YINSHENG AND REF(NOT
]