通达信手机指标 金山见多 XA

通达信手机指标 金山见多
XA_1:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
STICKLINE(XA_1,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(XA_1,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWTEXT_FIX(CLOSE<0,0.01,0.9,0,6),COLORBLACK;
坡上线:MA(CLOSE,5),COLORMAGENTA,LINETHICK2;
XA_2:=EMA((EMA(CLOSE,19)+EMA(CLOSE,20)+EMA(CLOSE,21))/3,3);
XA_3:=EMA(XA_2,3);
XA_4:=EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3);
XA_5:=EMA(EMA(EMA(XA_4,1),2),3);
XA_6:=EMA((EMA(CLOSE,19)+EMA(CLOSE,20)+EMA(CLOSE,21))/3,3);
XA_7:=XA_6-(XA_4-XA_6);
坡下线:EMA(EMA(EMA(XA_7,1),2),3),COLORGREEN,LINETHICK2;
中分线:(坡上线+坡下线)/2,DOTLINE,COLOR99EEEE;
DRAWRECTREL(8,890,65,940,RGB(25,55,150));
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,1),COLOR99EEEE;
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,2),COLORRED;
DRAWTEXT_FIX(1,0.980,20,
1,'★WWW.2M'),COLOR666666;
XA_8:=150;
XA_9:=3;
XA_10:=REF(HHV(HIGH,XA_8),XA_9);
XA_11:=REF(LLV(LOW,XA_8),XA_9);
XA_12:=XA_10-(XA_10-XA_11)*0.886;
XA_13:=XA_10-(XA_10-XA_11)*0.946;
底二886:REFDATE(XA_12,DATE),DOTLINE,COLORFFCC00;
底一946:REFDATE(XA_13,DATE),COLORBLUE;

(0)

相关推荐