{ 股票指标 }
X_1:=ma(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,20);
X_4:=MA(CLOSE,60);
X_5:=MA(CLOSE,120);
X_6:=X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND X_4>X_5 AND X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3>REF(X_3,1) AND X_4>REF(X_4,1) AND X_5>REF(X_5,1);
X_7:=Abs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND OPEN>REF(LOW,1) AND CLOSE>REF(HIGH,1) AND CLOSE/OPEN>1.04 AND crOSS(macd.MacD,0) AND CLOSE>MA(CLOSE,5) AND X_6 AND 8;
X_8:=HHV(MAX(CLOSE,0),20)/LLV(MIN(CLOSE,OPEN),20)<=1.15;
X_9:=(HIGH-CLOSE)/CLOSE*100<1;
X_10:=CLOSE/REF(CLOSE,1)>1.038;
X_11:=REF(CLOSE>OPEN OR OPEN>CLOSE,43) AND REF(CLOSE>OPEN OR OPEN>CLOSE,37) AND REF(CLOSE>OPEN OR OPEN>CLOSE,16) AND REF(CLOSE>OPEN OR OPEN>CLOSE,25) AND REF(CLOSE>OPEN OR OPEN>CLOSE,29) AND REF(CLOSE>OPEN OR OPEN>CLOSE,2) AND REF(CLOSE>OPEN OR OPEN>CLOSE,24);
X_12:=X_7 AND X_8 AND X_9 AND X_10 AND X_11;
DRAWICON(FILTER(X_12=1,3),40,1),COLORCYAN;
stICKLINE(FILTER(X_12=1,5),36,0,3.25,0),COLORRED;
STICKLINE(FILTER(X_12=1,5),35,0,0.35,1),COLORYELLOW;
标签:12,MA,REF,20,通达信,源码,战神,CLOSE,OPEN From: https://www.cnblogs.com/zhibiao/p/18032159