通达信日天主图选股源码

[复制链接]
查看56 | 回复0 | 2021-8-20 06:55:35 | 显示全部楼层 |阅读模式

以下是通达信日天主图选股源码(无源码的请下载附件导入)

日天主图选股源码:

X_1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
 X_2:=DMA(CLOSE,X_1);
 X_3:=(1-10/100)*X_2;
 X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 X_5:=SMA(X_4,2,1);
 X_6:=SMA(X_5,2,1);
 X_7:=3*X_5-2*X_6;
 X_8:=CROSS(X_7,0);
 X_9:=EMA(CLOSE,15)-EMA(CLOSE,26);
 X_10:=EMA(X_9,5);
 X_11:=2*(X_9-X_10);
 X_12:=X_11<0 AND X_11>REF(X_11,1) AND REF(X_11,1)<REF(X_11,2);
 X_13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 X_14:=SMA(X_13,2,1);
 X_15:=SMA(X_14,2,1);
 X_16:=3*X_14-2*X_15;
买入:X_8 AND X_12 AND HIGH>=X_3;

723299463.jpg

723299463.jpg

回复

使用道具 举报

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

本版积分规则