通达信指标不错
源码:
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
X_1:=MA(CLOSE,20);
X_2:=BARSLAST(CLOSE>REF(CLOSE,1)*1.04);
X_3:=M5>=REF(M5,1) AND M10>=REF(M10,1) AND X_1>=REF(X_1,1);
X_4:=RANGE(CLOSE,M10*0.93,M5);
X_5:=EVERY(HIGH/CLOSE<1.06,2) AND HIGH/CLOSE<1.04;
X_6:=MIN(CLOSE,OPEN)>=MA(CLOSE,6);
X_7:=SUM(SSRP,10)<25 AND TRIX(3,3)>TRIX.MATRIX(3,3) AND DMI.PDI(7,7)>=REF(DMI.PDI(7,7),1);
X_8:=CLOSE>MIKE.STOR AND (CLOSE-MIKE.STOR)/MIKE.STOR*100>1 AND (CLOSE-MIKE.STOR)/MIKE.STOR*100<=15;
X_9:=X_2<12 AND REF(X_4,1) AND X_7 AND X_8 AND X_5 AND X_3 AND X_6;
X_10:=BARSLAST(X_9);
止损价:IF(X_10>0,REF(CLOSE,X_10)*0.9,DRAWNULL),DOTLINE,COLORCYAN;
止盈价:IF(X_10>0,REF(CLOSE,X_10)*1.1,DRAWNULL),DOTLINE,COLORRED;
X_11:=CAPITAL/1000000<10 AND LOW>=MA(CLOSE,6);
X_12:=X_2<12 AND REF(X_4,1) AND X_7 AND X_8 AND X_5 AND X_3 AND X_11;
STICKLINE(X_10=0,CLOSE,OPEN,1.8,0),COLORYELLOW;
STICKLINE(X_10=0,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(X_10=0,CLOSE,OPEN,0.05,0),COLORRED;
STICKLINE(X_9,HIGH,LOW,0,1),COLORWHITE;
STICKLINE(X_9,CLOSE,OPEN,3.2,0),COLOR555555;
STICKLINE(X_9,CLOSE,OPEN,2.6,0),COLOR777777;
STICKLINE(X_9,CLOSE,OPEN,1.9,0),COLOR999999;
STICKLINE(X_9,CLOSE,OPEN,1.1,0),COLORCCCCCC;
STICKLINE(X_9,CLOSE,OPEN,0.3,0),COLORCCDDBB;
DRAWICON(X_12,HIGH*1.03,25);
DRAWICON(X_10=0,LOW*0.94,1);
- 上一篇公式:通达信筹码峰选股
- 下一篇公式:通达信牛眼线源码附图