通达信多空警戒源码

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

以下是通达信多空警戒源码(无源码的请下载附件导入)

HJ_1:=ADVANCE=HHV(ADVANCE,14);
 HJ_2:=BARSLAST(FILTER(CROSS(0.8,HJ_1),14))+1;
 HJ_3:=REF(ADVANCE,HJ_2);
 STICKLINE(HJ_2,HJ_3,HJ_3*1.0008,9,0),COLORRED;
 HJ_4:=ADVANCE=LLV(ADVANCE,14);
 HJ_5:=BARSLAST(FILTER(CROSS(0.8,HJ_4),14))+1;
 HJ_6:=REF(ADVANCE,HJ_5);
 STICKLINE(HJ_5,HJ_6,HJ_6*1.0008,9,0),COLORGREEN;
 HJ_7:=HHV(EMA(ADVANCE,21),2);
 NOTEXT20:EMA(ADVANCE,21),COLORRED,LINETHICK2;
 NOTEXT30:IF(HJ_7=NOTEXT20 AND UPNDAY(HJ_7,3),HJ_7,DRAWNULL),COLORRED,LINETHICK2;
 NOTEXT40:IF(REF(HJ_7,2)>NOTEXT20,NOTEXT20,DRAWNULL),COLORGREEN,LINETHICK2;

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

 

回复

使用道具 举报

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

本版积分规则