双背驰缩量源码
X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=2*(X_1-X_2);
X_4:=BARSLAST(REF(X_3,1) 0 AND X_3
X_5:=LLVBARS(X_3,X_4+18);
X_6:=IF(X_5 X_4,REF(X_3,X_5),0);
X_7:=LLVBARS(X_1,X_4+18);
X_8:=IF(X_7 X_4,REF(X_1,X_7),0);
X_9:=X_3 0 AND X_3 X_6 AND X_1 0 AND X_1 X_8 AND CLOSE=LLV(CLOSE,X_4+18) AND X_6 0 AND X_8
XG:REF(X_9,1)=1 AND X_3 REF(X_3,1) AND X_4