通达信中线牛股源码

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

以下是通达信中线牛股源码(无源码的请下载附件导入)

HJ_1:=MA(CLOSE,5);
 HJ_2:=MA(CLOSE,10);
 HJ_3:=MA(CLOSE,30);
 HJ_4:=MA(CLOSE,60);
 HJ_5:=MA(CLOSE,120);
 HJ_6:=MA(CLOSE,14);
 HJ_7:=MA(CLOSE,125);
 HJ_8:=MA(CLOSE,240);

 HJ_9:=MAX(MAX(MAX(HJ_1,HJ_2),MAX(HJ_3,HJ_4)),HJ_5);
 HJ_10:=MIN(MIN(MIN(HJ_1,HJ_2),MIN(HJ_3,HJ_4)),HJ_5);
 HJ_11:=BARSLAST(OPEN<=HJ_10 AND CLOSE>=HJ_9);
 HJ_12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
 HJ_13:=HJ_3>HJ_4 AND HJ_8>REF(HJ_8,1) AND HJ_4>HJ_7 AND HJ_4>REF(HJ_4,1) OR (HJ_4>HJ_8 AND HJ_3>HJ_4 AND HJ_3>REF(HJ_3,1) AND HJ_4>REF(HJ_4,1) AND HJ_8>REF(HJ_8,1)) OR (HJ_1>REF(HJ_1,1) AND HJ_8>REF(HJ_8,1) AND HJ_2>REF(HJ_2,1) AND HJ_3>REF(HJ_3,1) AND HJ_5>REF(HJ_5,1));
 HJ_11 AND HJ_13 AND REF(COUNT(CLOSE>OPEN,10)>=4,1)=1 AND NOT(REF(HJ_1,1)<REF(HJ_1,2) AND REF(HJ_2,1)<REF(HJ_2,2) AND REF(HJ_6,1)<REF(HJ_6,2)) AND (COUNT(HJ_12<(-6),15)=0 AND COUNT(HJ_12<(-8),28)=0);

{-----------------------------------}

743422237.jpg

743422237.jpg

回复

使用道具 举报

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

本版积分规则