通达信主升波段公式副图选股和谐源码分享

[复制链接]
查看134 | 回复0 | 2021-8-26 22:54:48 | 显示全部楼层 |阅读模式

以下是通达信主升波段公式副图选股和谐源码分享(无源码的请下载附件导入)

{主升波段选股}

XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=MA(CLOSE,20);
XA_4:=MA(CLOSE,60);
XA_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_6:=SMA(XA_5,3,1);
XA_7:=SMA(XA_6,3,1);
XA_8:=3*XA_6-2*XA_7;
XA_9:=CROSS(CLOSE,XA_1) AND CROSS(CLOSE,XA_2);
XA_10:=CROSS(CLOSE,XA_3) AND REF(CLOSE<OPEN OR CLOSE>OPEN,72);
XA_11:=XA_8>50 AND (HIGH-CLOSE)/CLOSE*100<0.5;
XA_12:=REF(VOL<=LLV(VOL,10),2);
XA_13:=CROSS(XA_8,XA_7) AND CROSS(XA_8,XA_6) AND REF(CLOSE<OPEN OR CLOSE>OPEN,39);
XA_14:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_15:=EMA(XA_14,9);
XA_16:=2*(XA_14-XA_15);
XA_17:=XA_16>0 AND CLOSE/REF(CLOSE,1)>1.05;
有可能接抓主升:XA_9 AND XA_10 AND CLOSE>OPEN AND XA_11 AND XA_17 AND XA_13,COLORYELLOW;
 
{主升波段选股}
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=MA(CLOSE,20);
XA_4:=MA(CLOSE,60);
XA_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_6:=SMA(XA_5,3,1);
XA_7:=SMA(XA_6,3,1);
XA_8:=3*XA_6-2*XA_7;
XA_9:=CROSS(CLOSE,XA_1) AND CROSS(CLOSE,XA_2);
XA_10:=CROSS(CLOSE,XA_3) AND REF(CLOSE<OPEN OR CLOSE>OPEN,72);
XA_11:=XA_8>50 AND (HIGH-CLOSE)/CLOSE*100<0.5;
XA_12:=REF(VOL<=LLV(VOL,10),2);
XA_13:=CROSS(XA_8,XA_7) AND CROSS(XA_8,XA_6) AND REF(CLOSE<OPEN OR CLOSE>OPEN,39);
XA_14:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_15:=EMA(XA_14,9);
XA_16:=2*(XA_14-XA_15);
XA_17:=XA_16>0 AND CLOSE/REF(CLOSE,1)>1.05;
有可能接抓主升:XA_9 AND XA_10 AND CLOSE>OPEN AND XA_11 AND XA_17 AND XA_13,COLORYELLOW;

715111779.png

715111779.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则