通达信斩仙飞刀指标公式

财富   2024-11-08 09:01   北京  

每天早上9:00更新--最新股票指标

HJ_1:=7;
HJ_2:=3;
50,POINTDOT,COLORWHITE;
HJ_3:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),HJ_1);
HJ_4:=HIGH-REF(HIGH,1);
HJ_5:=REF(LOW,1)-LOW;
HJ_6:=SUM(IF(HJ_4>0 AND HJ_4>HJ_5,HJ_4,0),HJ_1);
HJ_7:=SUM(IF(HJ_5>0 AND HJ_5>HJ_4,HJ_5,0),HJ_1);
阳刀:HJ_6*100/HJ_3,COLORRED;
阴刀:HJ_7*100/HJ_3,COLORGREEN;
明刀:MA(ABS(阴刀-阳刀)/(阴刀+阳刀)*100,HJ_2),COLORWHITE;
暗刀:(明刀+REF(明刀,HJ_2))/2,COLORGRAY;
STICKLINE(阴刀=0,0,5,2,0),COLORBLUE;
STICKLINE(阳刀=0,0,5,2,0),COLORYELLOW;
DRAWICON(阴刀=0 AND 明刀>99,100,2);
DRAWICON(阳刀=0 AND 明刀>99,100,1);

阅读后把下面的在看点亮

设定为星标

系统才会给你主动推荐最新指标

股票指标源码分享
通达信指标源码天天免费分享,主图幅图选股源码,免费通达信软件分享-最好用的股票软件,欢迎关注
 最新文章