#通达信#【量价攻击】#指标#源码XA

#通达信#【量价攻击】#指标#源码
XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_2:=REF(XA_1,1);
XA_3:=EMA(CLOSE,13)-EMA(CLOSE,26);
XA_4:=EMA(XA_3,3);
XA_5:=(XA_3-XA_4)*2;
XA_6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
XA_7:=EMA(CLOSE,5);
XA_8:=EMA(CLOSE,10);
XA_9:=MA(CLOSE,20);
XA_10:=MA(CLOSE,60);
XA_11:=IF(CLOSE>=XA_7,1,(-1));
XA_12:=IF(CLOSE>=XA_8,1,(-1));
XA_13:=IF(CLOSE>=XA_9,1,(-1));
XA_14:=IF(XA_7>=REF(XA_7,1),1,(-1));
XA_15:=IF(XA_8>=REF(XA_8,1),1,(-1));
XA_16:=IF(XA_9>=REF(XA_9,1),1,(-1));
XA_17:=(XA_11+XA_12+XA_13+XA_14+XA_15+XA_16)/6*100;
XA_18:=(-10);
XA_19:=EMA(VOL,13);
XA_20:=EMA(AMOUNT,13);
XA_21:=XA_20/XA_19/100;
XA_22:=(CLOSE-XA_21)/XA_21*100;
XA_23:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_24:=LLV(OPEN,30);
XA_25:=SMA(XA_23,3,1);
XA_26:=SMA(XA_25,3,1);
XA_27:=3*XA_25-2*XA_26;
XA_28:=EMA(HHV(HIGH,1),8);
XA_29:=EMA(CLOSE,8);
XA_30:=XA_29<REF(XA_29,1) AND CLOSE<XA_29;
XA_31:=IF(XA_28<REF(XA_28,1) OR XA_30,1,0);
XA_32:=(COUNT(XA_31=1,4)=3 AND XA_31=0 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89;

(0)

相关推荐