|
DING:=MAX(O,C);
DI:=MIN(O,C);
YANG:=(C>=REF(DING,1));
YIN:=NOT(YANG);
YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN));
YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1;
D1:=BARSSINCE(YANGSHENG);
D2:=BARSLAST(YANGSHENG);
XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15;
|
|