DDXG源码
X_1:=(CLOSE/REF(CLOSE,1)-1)*100;
X_2:=(CLOSE/OPEN-1)*100;
ZF:IF(X_1>=0 OR X_2>0,MAX(X_1,X_2),MIN(X_1,X_2)),NODRAW;
X_3:=DYNAINFO(4)>0;
X_4:=IF(DATE<1170101,1,DRAWNULL);
X_5:=X_4*(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
X_6:=(LARGEINTRDVOL-LARGEOUTTRDVOL)/10;
X_7:=(L2_VOL(0,0)-L2_VOL(0,1))/10;
X_8:=MAX(X_6,X_7);
X_9:=IF(BARSSINCE(CLOSE>0)<20,BARSSINCE(CLOSE>0),20);
X_10:=COUNT(HHV(X_8,10)=X_8 AND ZF>8,X_9)=1 AND HHV(X_8,10)=X_8 AND ZF>8;
X_11:=IF(X_3 AND (HHV(X_8,20)=X_8 AND ZF>9 AND ZF<9.6),X_5*10,0);
X_12:=IF(X_3 AND (HHV(X_8,20)=X_8 AND ZF>=9.69),X_5*10,0);
X_13:=SUM(X_8,0)*1.1;
X_14:=SMA(X_13,3,1);
X_15:=SMA(X_14,6,1);
X_16:=SMA(X_15,6,1);
X_17:=SMA(X_16,6,1);
X_18:=SMA(X_17,12,1);
X_19:=MAX(X_14,MAX(X_15,MAX(X_16,MAX(X_17,X_18))));
X_20:=IF(CROSS(X_13,X_19),10,IF(CROSS(X_13,X_17),8,IF(CROSS(X_13,X_16),6,IF(CROSS(X_13,X_15),4,IF(CROSS(X_13,X_14),2,IF(X_13>X_19,9,IF(X_13>X_17,7,IF(X_13>X_16,5,IF(X_13>X_15,3,IF(X_13>X_14,1,0))))))))));
X_21:=SUM(X_8,16)*1.1;
X_22:=SMA(X_21,3,1);
X_23:=SMA(X_22,6,1);
X_24:=SMA(X_23,6,1);
X_25:=SMA(X_24,6,1);
X_26:=MAX(X_22,MAX(X_23,MAX(X_24,X_25)));
X_27:=IF(CROSS(X_21,X_26),10,IF(CROSS(X_21,X_25),8,IF(CROSS(X_21,X_24),6,IF(CROSS(X_21,X_23),4,IF(CROSS(X_21,X_22),2,IF(X_21>X_26,9,IF(X_21>X_25,7,IF(X_21>X_24,5,IF(X_21>X_23,3,IF(X_21>X_22,1,0))))))))));
X_28:=X_4*(X_20+X_27);
X_29:=IF(X_12>=1 OR X_11>=1,X_20+X_27,0);
资金强度:X_28,NODRAW,COLORWHITE;
X_30:=IF(X_3 AND ZF>=6 AND HIGH>LOW AND X_28>14,X_28,0);
X_31:=MA(CLOSE,IF(BARSSINCE(CLOSE>0)<55,BARSSINCE(CLOSE>0),55));
X_32:=SMA(X_31,3,1);
X_33:=MA(CLOSE,IF(BARSSINCE(CLOSE>0)<34,BARSSINCE(CLOSE>0),34));
X_34:=MA(CLOSE,IF(BARSSINCE(CLOSE>0)<21,BARSSINCE(CLOSE>0),21));
X_35:=EMA(CLOSE,IF(BARSSINCE(CLOSE>0)<13,BARSSINCE(CLOSE>0),13));
X_36:=MA(CLOSE,8);
X_37:=MA(CLOSE,8);
X_38:=MAX(X_37,MAX(X_36,MAX(X_35,MAX(X_34,MAX(X_33,X_31)))));
X_39:=IF(CROSS(CLOSE,X_38),X_28,0);
X_40:=REF(VOL*0.5,BARSLAST(VOL=HHV(VOL,60)));
X_41:=EMA(MA(VOL,3),2);
X_42:=MA(VOL,5);
X_43:=MA(VOL,20);
X_44:=CROSS(VOL,X_43) OR X_41>X_43 AND X_41>REF(X_41,1) AND X_42>REF(X_42,1);
X_45:=X_3 AND HHV(X_8,20)=X_8 AND ZF>=9 AND X_2>=0 AND HIGH>LOW AND ZJQDL.净流入>0 AND (VOL>X_40 OR X_44);
DDXGD:IF(X_45,X_5*10,0),COLORMAGENTA,LINETHICK2;
DDXGQ:IF(X_45,X_28,0),COLOR80FF00,LINETHICK2;
上一篇:通达信VOLXGQ源码 下一篇:金钻极品选股公式