通达信强势股二次反3源码

[复制链接]
查看62 | 回复0 | 2021-8-19 19:25:22 | 显示全部楼层 |阅读模式

以下是通达信强势股二次反3源码(无源码的请下载附件导入)

HJ_1:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
 HJ_2:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
 HJ_3:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
 HJ_4:=HJ_2 AND HJ_3;
 HJ_5:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
 HJ_6:=HJ_4 AND HJ_5;
 HJ_7:=COUNT(REF(HJ_1,3),8) AND HJ_6;
 HJ_8:=MA(CLOSE,20);
 HJ_9:=CLOSE>MA(CLOSE,5);
 HJ_10:=MA(CLOSE,5)>MA(CLOSE,10);
 HJ_11:=CLOSE>MA(CLOSE,10);
 HJ_12:=MA(CLOSE,5)>MA(CLOSE,20);
 HJ_13:=CLOSE>MA(CLOSE,20);
 HJ_14:=REF(HJ_8,1);
 HJ_15:=HJ_8>HJ_14;
 HJ_16:=IF(HJ_9,10,0-10)+IF(HJ_10,10,0-10)+IF(HJ_11,10,0-10)+IF(HJ_12,10,0-10)+IF(HJ_13,10,0-10)+IF(HJ_15,10,0-10);
 HJ_17:=REF(HJ_16,1)<=0 AND HJ_16>0;
 HJ_18:=HJ_16>10 AND HJ_16>=REF(HJ_16,1) AND HJ_16>=REF(HJ_16,2);
 HJ_19:=HJ_16=60;
 HJ_20:=HJ_17 OR HJ_18 OR HJ_19;
 HJ_21:=BARSLAST(NOT(HJ_19));
 HJ_7 AND HJ_19=1 AND HJ_21=1,COLORBLUE,LINETHICK4;

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

653355271.jpg

653355271.jpg

回复

使用道具 举报

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

本版积分规则