通达信优化唯我独尊副图/选股指标 源码

[复制链接]
查看99 | 回复0 | 2021-8-19 04:47:02 | 显示全部楼层 |阅读模式

以下是通达信优化唯我独尊副图/选股指标 源码(无源码的请下载附件导入)

X_1:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);
 X_2:=KD.K#WEEK(9,3,3);
 X_3:=KD.D#WEEK(9,3,3);
 X_4:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)<30,13);
 X_5:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)>30,13);
 X_6:=X_4;
 X_7:=MACD.DIF#WEEK(12,26,9);
 X_8:=MACD.DEA#WEEK(12,26,9);
 X_9:=10;
 X_10:=5;
 X_11:=FILTER(CROSS(X_7,X_8) AND REF(X_8,1)<0,13);
 X_12:=X_11;
 X_13:=(HHV(HIGH,X_9)-CLOSE)/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-125;
 X_14:=SMA(X_13,X_10,1)+15;
 X_15:=(CLOSE-LLV(LOW,X_9))/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-105;
 X_16:=SMA(X_15,X_10,1)+15;
 X_17:=CROSS(X_16,X_14);
选股:X_12 AND X_11 AND X_1;

回复

使用道具 举报

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

本版积分规则