以下是通达信主力挖沟主图选股幅图

通达信指标主力挖沟

{主图}

M5:MA(C,5),COLORMAGENTA;
 ZF:=(C-REF(C,1))/REF(C,1)*100;
 A:=IF(C>O,ZF,1);
 TJ:=EVERY(RANGE(A,0,4),3);
 T:=BARSLAST(COUNT(CROSS(C,MA(C,5)),3)=2 AND CROSS(C,MA(C,5)) AND TJ);
 XG:=REF(EVERY(H<REF(H,T),T),1) AND CROSS(C,REF(H,T));
突破价:REF(H,T) NODRAW;
 STICKLINE(T>=0,REF(H,T),REF(H,T),4,-1),COLORGREEN;
 STICKLINE(CROSS(XG=1,0.5),C,O,2,0),COLORBROWN;
 STICKLINE(CROSS(XG=1,0.5),H,L,0,0),COLORBROWN;
 DRAWICON(CROSS(XG=1,0.5),L*0.95,11);

{幅图}

ZF:=(C-REF(C,1))/REF(C,1)*100;
 A:=IF(C>O,ZF,1);
 TJ:=EVERY(RANGE(A,0,4),3);
 T:=BARSLAST(COUNT(CROSS(C,MA(C,5)),3)=2 AND CROSS(C,MA(C,5)) AND TJ);
 XG:=REF(EVERY(H<REF(H,T),T),1) AND CROSS(C,REF(H,T));
 STICKLINE(CROSS(XG=1,0.5),0,8,1.8,0),COLORBROWN;

{选股}

ZF:=(C-REF(C,1))/REF(C,1)*100;
 A:=IF(C>O,ZF,1);
 TJ:=EVERY(RANGE(A,0,4),3);
 T:=BARSLAST(COUNT(CROSS(C,MA(C,5)),3)=2 AND CROSS(C,MA(C,5)) AND TJ);
 XG:=REF(EVERY(H<REF(H,T),T),1) AND CROSS(C,REF(H,T));
 CROSS(XG=1,0.5);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。