阳吃阴实体相当如何表达?并且阳线C与昨天阴O位置相当,阳O与昨阴C相当?我写了个,不太好,望高手改进下,谢谢AA:=(C-O)/(REF(O,1)-REF(C,1))>=0.001;BB:=(C-O)/(REF(O,1)-REF(C,1))>=-0.001&&REF(O,1)>REF(C,1)&&C>REF(C,1);AA AND BB;
公式源码示例:
YANGX:=CLOSE>OPEN;
YINX:=CLOSE<=OPEN;
CO:=CLOSE>REF(OPEN,1) AND CLOSE<REF(OPEN,1)*1.02;
OC:=OPEN<REF(CLOSE,1) AND OPEN>REF(CLOSE,1)*0.98;
XG:YANGX AND REF(YINX,1) AND CO AND OC;