此公式经测试无未来,没设时限,使用时要结合MACD等其他指标使用更有胜算。
X_1:=MA((2*CLOSE+HIGH+LOW)/4,5);
X_2:=X_1*(200-102)/100;
X_3:=(1-7/100)*DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20));
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=3*SMA(X_4,3,1)-2*SMA(SMA(X_4,3,1),3,1);
X_6:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,14))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,14));
X_7:=X_2 X_3 AND X_5 REF(X_5,1) AND REF(X_5,1) REF(X_5,2) AND X_6 (-100) AND X_6 REF(X_6,1);
STICKLINE(X_7,0,2,2,0),COLORMAGENTA;
X_8:=X_7;
XG:X_7,COLORWHITE;