通达信谭氏富五代源码

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

以下是通达信谭氏富五代源码(无源码的请下载附件导入)

HJ_1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);
 HJ_2:=CLOSE/REF(CLOSE,1)>1.028;
 HJ_3:=MA(CLOSE,10)>CLOSE*1.05;
 HJ_4:=MA(CLOSE,10)<CLOSE*1.1;
 HJ_5:=MA(CLOSE,60)>CLOSE*1.28;
 HJ_6:=HJ_1 AND HJ_2 AND HJ_3 AND HJ_4 AND HJ_5;
 DRAWTEXT(HJ_6,0.9,4),COLORRED;
 A1:IF(HJ_6>0,HJ_6*1,0),STICK,COLORRED,LINETHICK5;
 A2:IF(HJ_6>0,HJ_6*0.9,0),STICK,COLOR0099FF,LINETHICK5;
 A4:IF(HJ_6>0,HJ_6*0.8,0),STICK,COLOR00CCFF,LINETHICK5;
 A5:IF(HJ_6>0,HJ_6*0.7,0),STICK,COLORYELLOW,LINETHICK5;
 A6:IF(HJ_6>0,HJ_6*0.6,0),STICK,COLOR400080,LINETHICK5;
 A7:IF(HJ_6>0,HJ_6*0.5,0),STICK,COLOR400000,LINETHICK5;
 A8:IF(HJ_6>0,HJ_6*0.4,0),STICK,COLOR404080,LINETHICK5;
 A9:IF(HJ_6>0,HJ_6*0.3,0),STICK,COLORGREEN,LINETHICK5;
 A10:IF(HJ_6>0,HJ_6*0.2,0),STICK,COLORCYAN,LINETHICK5;

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

回复

使用道具 举报

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

本版积分规则