以下是通达信强弱多空专解套牢的浮沉珠副图指标公式源码

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);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。