|
BC:=BARSCOUNT(CLOSE); V5T:=IF(BC<=5,V*BC/SUM(V,BC),V/REF(MA(V,5),1)); V60T:=IF(BC<=60,V5T,V/REF(MA(V,60),1)); DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(DI>=REF(DING,1)) OR (C>O AND NOT(DING<=REF(DI,1))) OR (C>REF(C,1) AND C=O) OR (C=REF(C,1) AND C=O AND REF(DING,1)=C); YIN:=NOT(YANG); YANGSHENG:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND (V>REF(V,BARSLAST(YIN)) OR (BETWEEN(V,REF(V,BARSLAST(YIN))*0.95,REF(V,BARSLAST(YIN))*1.05))); LIANGJIABI:=V/C; LIANGJIABIXISHU:=1.5; BLZ:=V>REF(V,1)*1.5 AND V60T>1.5; PLZ:=BETWEEN(V,REF(V,1)*0.95,REF(V,1)*1.05) OR BETWEEN(V,REFX(V,1)*0.95,REFX(V,1)*1.05) OR (BETWEEN(V,REF(V,2)*0.95,REF(V,2)*1.05) AND V>REF(V,1)*1. |
|