以下是很能涨的通达信横盘突破选股指标公式源码和使用说明

很能涨的通达信横盘突破选股指标公式源码:

   AA:=L>REF(H,1)*1.02ANDL/LLV(L,60)<1.25;

   BB:=BARSLAST(AA);

   STICKLINE(AA,L,REF(H,1),100,-1),COLORYELLOW;

   DRAWKLINE(H,O,L,C);

   DRAWNUMBER(AA,L,L),COLORYELLOW;

   DRAWNUMBER(REFX(AA,1),H,H),COLORYELLOW;

   DRAWTEXT(AA,LOW,’●’),COLORRED;DRAWTEXT(REFX(AA,1),H,’●’),COLORRED;

   DRAWICON(COUNT(C>REF(H,BB),BB)=1ANDC>REF(H,BB)ANDBB<=15,H,1);

   横盘突破选股:REF(EMA(C,14),1)COLORLIBLUE,LINETHICK1;

   指标公式:REF(EMA(C,25),1),COLORGREEN,CIRCLEDOT;

   dfff1:(C-横盘突破选股)/横盘突破选股*100,NODRAW;

   dfff2:(C-指标公式)/指标公式*100,NODRAW;

   dfff3:HHV(dfff1,250),NODRAW;

   dfff4:LLV(dfff1,250),NODRAW;

   dfff5:=(EMA(C,14)-横盘突破选股)/横盘突破选股*100,NODRAW;

   指标公式X:=(EMA(C,25)-指标公式)/指标公式*100,NODRAW;

   STICKLINE(CROSS(dfff5,0),H,L,0,0),COLOR9933FF;

   STICKLINE(CROSS(dfff5,0),C,O,3,0),COLOR0000CC;

   STICKLINE(CROSS(dfff5,0),C,O,1,0),COLOR0033FF;

   STICKLINE(CROSS(0,dfff5),L,H,0,0),COLOR66CC33;

   STICKLINE(CROSS(0,dfff5),C,O,3,0),COLOR00CC00;

   STICKLINE(CROSS(0,dfff5),C,O,1,0),COLOR66FF00;

   STICKLINE(dfff5>=0,横盘突破选股,指标公式,0,0)COLORRED;

   STICKLINE(dfff5<0,横盘突破选股,指标公式,0,0)COLORGRAY;

   dfff7:IF(dfff5>=0,横盘突破选股,DRAWNULL)COLORRED,LINETHICK2;

   dfff9:IF(指标公式X>=0,指标公式,DRAWNULL)COLORRED,CIRCLEDOT;

   VAR1:=ZIG(3,2.88)<REF(ZIG(3,2.88),1)ANDREF(ZIG(3,2.88),1)>REF(ZIG(3,2.88),2);

   VAR2:=ZIG(3,2.88)>REF(ZIG(3,2.88),1)ANDREF(ZIG(3,2.88),1)<REF(ZIG(3,2.88),2);

   STICKLINE(VAR1,C,O,8,0),COLOR00FF00;

   STICKLINE(VAR1,C,O,5,0),COLOR00FF00;

   STICKLINE(VAR1,H,L,2,0),COLOR00FF00;

   DRAWTEXT(VAR1,H*1.007,’上阻’),COLOR80FFFF;

   STICKLINE(VAR2,C,O,7,0),COLOR0000FF;

   STICKLINE(VAR2,C,O,5,0),COLOR0000FF;

   STICKLINE(VAR2,H,L,2,0),COLOR0000FF;

   DRAWTEXT(VAR2,L*0.993,’下阻’),COLOR43D0FA;

   VAR3:=ZIG(3,4.88)<REF(ZIG(3,4.88),1)ANDREF(ZIG(3,4.88),1)>REF(ZIG(3,4.88),2);

   VAR4:=ZIG(3,4.88)>REF(ZIG(3,4.88),1)ANDREF(ZIG(3,4.88),1)<REF(ZIG(3,4.88),2);

   STICKLINE(VAR3,C,O,8,0),COLOR00FF00;

   STICKLINE(VAR3,C,O,5,0),COLOR00FF00;

   STICKLINE(VAR3,H,L,2,0),COLOR00FF00;

   DRAWTEXT(VAR3,H*1.007,’强阻’),COLOR43D0FA;

   STICKLINE(VAR4,C,O,7,0),COLOR0000FF;

   STICKLINE(VAR4,C,O,5,0),COLOR0000FF;

   STICKLINE(VAR4,H,L,2,0),COLOR0000FF;

   DRAWTEXT(VAR4,L*0.993,’强支’),COLOR43D0FA;

   VAR5:=ZIG(3,5.88)<REF(ZIG(3,5.88),1)ANDREF(ZIG(3,5.88),1)>REF(ZIG(3,5.88),2);

   VAR6:=ZIG(3,5.88)>REF(ZIG(3,5.88),1)ANDREF(ZIG(3,5.88),1)<REF(ZIG(3,5.88),2);

   STICKLINE(VAR5,C,O,9,0),COLOR00FFFF;

   STICKLINE(VAR5,C,O,6,0),COLOR00FF00;

   STICKLINE(VAR5,H,L,3,0),COLOR00FF00;

   DRAWTEXT(VAR5,H*1.007,’强阻1′),COLOR00FF00;

   STICKLINE(VAR6,C,O,8,0),COLOR00FFFF;

   STICKLINE(VAR6,C,O,6,0),COLOR0000FF;

   STICKLINE(VAR6,H,L,3,0),COLOR0000FF;

   DRAWTEXT(VAR6,L*0.993,’强支1′),COLOR00FFFF;

   VAR7:=ZIG(3,6.88)<REF(ZIG(3,6.88),1)ANDREF(ZIG(3,6.88),1)>REF(ZIG(3,6.88),2);

   VAR8:=ZIG(3,6.88)>REF(ZIG(3,6.88),1)ANDREF(ZIG(3,6.88),1)<REF(ZIG(3,6.88),2);

   STICKLINE(VAR7,C,O,9,0),COLOR00FFFF;

   STICKLINE(VAR7,C,O,6,0),COLOR00FF00;

   STICKLINE(VAR7,H,L,2,0),COLOR00FF00;

   DRAWTEXT(VAR7,H*1.007,’强阻2′),COLOR00FF00;

   DRAWTEXT(VAR8,L*0.993,’强支2′),COLOR00FFFF;

   VAR9:=ZIG(3,8.88)<REF(ZIG(3,8.88),1)ANDREF(ZIG(3,8.88),1)>REF(ZIG(3,8.88),2);

   VAR10:=ZIG(3,8.88)>REF(ZIG(3,8.88),1)ANDREF(ZIG(3,8.88),1)<REF(ZIG(3,8.88),2);

   DRAWTEXT(VAR9,H*1.007,’强阻3′),COLOR00FF00;

   DRAWTEXT(VAR10,L*0.993,’强支3′),COLOR00FFFF;

   VAR13:=ZIG(3,15.88)<REF(ZIG(3,15.88),1)ANDREF(ZIG(3,15.88),1)>REF(ZIG(3,15.88),2);

   VAR14:=ZIG(3,15.88)>REF(ZIG(3,15.88),1)ANDREF(ZIG(3,15.88),1)<REF(ZIG(3,15.88),2);

   DRAWTEXT(VAR13,H*1.02,’★大逆转★’),COLOR00FF00;

   DRAWTEXT(VAR14,L*0.975,’★大逆转★’),COLOR00FFFF;

   VAR15:=ZIG(3,0.58)<REF(ZIG(3,0.58),1)ANDREF(ZIG(3,0.58),1)>REF(ZIG(3,0.58),2);

   VAR16:=ZIG(3,0.68)>REF(ZIG(3,0.68),1)ANDREF(ZIG(3,0.68),1)<REF(ZIG(3,0.68),2);

   DRAWICON(VAR15,H,2);

   DRAWICON(VAR16,L,1);

很能涨的通达信横盘突破选股指标公式截图

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