以下是通达信多空警戒源码
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;
{———————————–}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)