通达信料敌如神指标公式
2021/4/9 18:45:26
XA_1:=71;
XA_2:=13;
XA_3:=3;
XA_4:=12;
XA_5:=9;
XA_6:=7;
XA_7:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>XA_7,105,34);
XA_8:=EMA(CLOSE,XA_4)-EMA(CLOSE,XA_1);
XA_9:=EMA(XA_8,XA_5);
XA_10:=2*(XA_8-XA_9);
DRAWICON(XA_10>REF(XA_10,1),90,34);
XA_11:=(CLOSE-LLV(LOW,XA_1))/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100;
XA_12:=SMA(XA_11,XA_2,1);
XA_13:=SMA(XA_12,XA_3,1);
XA_14:=3*XA_12-2*XA_13;
DRAWICON(XA_14>REF(XA_14,1),80,34);
XA_15:=EMA(CLOSE,XA_6);
DRAWICON(CLOSE>XA_15,70,34);
XA_16:=REF(CLOSE,1);
XA_17:=SMA(MAX(CLOSE-XA_16,0),XA_6,1)/SMA(ABS(CLOSE-XA_16),XA_6,1)*100;
XA_18:=SMA(MAX(CLOSE-XA_16,0),XA_2,1)/SMA(ABS(CLOSE-XA_16),XA_2,1)*100;
DRAWICON(XA_17>XA_18,60,34);
XA_19:=(2*CLOSE+HIGH+LOW)/4;
XA_20:=LLV(LOW,34);
XA_21:=HHV(HIGH,34);
XA_22:=EMA((XA_19-XA_20)/(XA_21-XA_20)*100,8);
XA_23:=EMA(XA_22,5);
DRAWICON(XA_22-XA_23<0,50,35);
DRAWICON(XA_22-XA_23>0,50,34);
XA_24:=AMOUNT/VOL/100;
XA_25:=MA(XA_24,10);
DRAWICON(CLOSE<XA_25,40,35);
DRAWICON(CLOSE>XA_25,40,34);
XA_26:=(HHV(HIGH,XA_1)-CLOSE)/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100;
XA_27:=SMA(XA_26,XA_6,34);
XA_28:=SMA(XA_27,XA_3,1);
DRAWICON(XA_27>XA_28,30,35);
投股票 网 w ww.tou18.cn
股市公式下载推荐