通达信金钻指标稳健操盘副图/选股指标源码

 X_6:=MA(X_5,1);
底部:STICKLINE(X_6<=(-8),0.4,0,10,0),COLORYELLOW;
 X_7:=REF(CLOSE,1);
 X_8:=SMA(MAX(CLOSE-X_7,0),7,1)/SMA(ABS(CLOSE-X_7),7,1)*100;
 FILTER(REF(X_8,1)<20 AND X_8>REF(X_8,1),5),COLORWHITE,LINETHICK2;
 X_9:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 X_10:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
 X_11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
 X_12:=(X_9+2*X_10+3*X_11)/6;
 X_13:=MA(X_12,3);
 STICKLINE(CROSS(X_12,X_13) AND X_13<(-9.5),0.85,0,1,0),COLORRED;
 X_14:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)/10;
 X_15:=DMI.PDI(14,6)>33 AND DMI.MDI(14,6)<10 AND DMI.ADX(14,6)>40 AND DMI.ADXR(14,6)>45;
 X_16:=HHV(X_14,4)>0.38 OR X_14>0.25 AND X_15;
 X_17:=IF(X_15=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<(-0.03),(-0.5),0);
 X_18:=IF(X_15=0 AND HHV(X_15,5)>0,(-0.5),0);
 X_19:=IF(X_16=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE<OPEN*1.01,(-0.75),0);
 X_20:=IF(X_16=0 AND HHV(X_16,3)>0,(-1),0);
警惕:IF(X_19=(-0.75),(-0.75),IF(X_20<0,(-1),IF(X_16>0,1,IF(X_18<0,(-0.5),X_15)))),COLORSTICK;
稳健联盟:IF(X_19=(-0.75),(-0.75),IF(X_20<0,(-1),IF(X_16>0,1,IF(X_18<0,(-0.5),X_15)))),COLORFFFF80;
 DRAWTEXT_FIX(1,0,0.001,0,1),COLOR0078FF;
 DRAWTEXT_FIX(1,0.5,0.001,0,2),COLOR0078FF;