通达信解套指标公式

XA_1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XA_2:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
STICKLINE(SMA(SMA(XA_2,3,1),3,1)<15,0,15,8,0),COLORGRAY;
STICKLINE(SMA(SMA(XA_2,3,1),3,1)>85,90,85,8,0),COLOR0066FF;
5,COLORMAGENTA;
10,DOTLINE,COLORYELLOW;
15,POINTDOT,COLORGRAY;
50,DOTLINE,COLORGREEN;
85,POINTDOT,COLORGRAY;
90,DOTLINE,COLORWHITE;
强弱:SMA(SMA(XA_2,3,1),3,1),COLORCYAN,LINETHICK2;
多空:EMA(XA_1,8),COLORRED;
DRAWICON(强弱<50 AND CLOSE>REF(CLOSE,BARSLAST(CROSS(50,多空))) AND REF(CLOSE<=REF(CLOSE,BARSLAST(CROSS(50,多空))),1) AND REF(CROSS(50,多空),1) AND REF(CLOSE<OPEN,1) AND CLOSE>MAX(OPEN,REF(CLOSE,1)),50,39);
DRAWICON(CROSS(50,多空),50,23);
DRAWICON(CROSS(10,强弱),10,2);
DRAWICON(CROSS(强弱,90),90,1);

(0)

相关推荐