程序化指标公式
问答中心

通达信黄金阴与跳空阳指标公式

通达信指标 2020-07-20阅读量:3385

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

精准眼:=BETWEEN(C,DYNAINFO(11)+0.01,DYNAINFO(11)-0.01)   AND C>MA(C,20);

STICKLINE(精准眼,O,C,1,0),COLORBLUE;DRAWKLINE(H,O,L,C);

STICKLINE(精准眼,H,L,0,0),COLORBLUE;{WWW.HONGHAIE.COM}

波幅眼:=BETWEEN(MAX(C,O)-MIN(C,O),0.01,-0.01) AND NOT(H=L)  AND C>MA(C,20);

STICKLINE(波幅眼,O,C,3,0),COLORMAGENTA;

STICKLINE(波幅眼,H,L,0,0),COLORMAGENTA;

黄金阴眼:=O>REF(C,1)  AND V<REF(V,1)*0.51   AND C<REF(C,1) AND C>MA(C,20) ;

STICKLINE(黄金阴眼,O,C,1,0),COLORYELLOW;

DRAWTEXT(黄金阴眼, L*0.99, '黄金阴眼'),COLORWHITE;

黄金眼:=O<REF(C,1)  AND V<REF(V,1)*0.7  AND C>O  AND C<REF(C,1) AND REF(C,1)<REF(C,2)

 AND REF(O,1)>REF(C,1)  AND C>MA(C,20);

STICKLINE(黄金眼,O,C,1,0),COLORCYAN;

DRAWTEXT(黄金眼, L*0.99, '黄金眼'),COLORWHITE;

腾空眼:=O>REF(C,1) AND C>O  AND REF(C,1)>REF(C,2) AND (V<REF(V,1)*0.7  OR V=LLV(V,50))  AND C>MA(C,20);

STICKLINE(腾空眼,O,C,1,0),COLORRED;

DRAWTEXT(腾空眼, L*0.98, '腾空眼'),COLORRED;{WWW.HONGHAIE.COM}

腾空阳:=O>REF(C,1) AND C>O  AND REF(C,1)>REF(C,2) AND V>=REF(V,1)*0.7 AND  V<REF(V,1)  AND C>MA(C,20);

STICKLINE(腾空阳,O,C,1,0),COLORMAGENTA;

DRAWTEXT(腾空阳, L*0.99, '腾空阳'),COLORWHITE;

黄金阳:=O<REF(C,1)   AND  V<REF(V,1) AND C>O  AND C<REF(C,1)

 AND REF(C,1)>REF(C,2) AND REF(C,1)>REF(O,1)  AND C>MA(C,20);

STICKLINE(黄金阳,O,C,1,0),COLORCYAN;

DRAWTEXT(黄金阳, L*0.99, '黄金阳'),COLORWHITE;

黄金阴:=O>REF(C,1)  AND V<REF(V,1)  AND V>REF(V,1)*0.51  AND C<REF(C,1)  AND C>MA(C,20);

STICKLINE(黄金阴,O,C,1,0),COLORLIRED;

DRAWTEXT(黄金阴, L*0.99, '黄金阴'),COLORWHITE;

小阳三连元:=IF(DYNAINFO(4)>0,LAST(O>REF(C,1)  AND C>REF(C,1)  AND  C/REF(C,1)<=1.06  AND C>MA(C,20) ,2,0),0);

DRAWTEXT(小阳三连元, L*0.99, '三连元'),COLORWHITE;

跳空阳:=L>REF(H,1) AND C>O AND V>=REF(V,1)  AND C>MA(C,20);

DRAWTEXT(跳空阳, L*0.99, '跳空阳'),COLORWHITE;

量缩价涨:=REF(V,3)=HHV(V,4) AND REF(C,3)>REF(C,4) AND REF(C,3)>REF(O,3) AND C=HHV(C,4)  AND C>MA(C,20);

DRAWTEXT(量缩价涨, L*0.99, '缩涨'),COLORMAGENTA;

A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;

B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;

长期线1:=A+100;

短期线1:=B+100;

中期线1:=D+100;{更多指标关注微信公众号:程序化指标}

底部:=(长期线1<12 AND 中期线1<8 AND (短期线1<7.2 OR REF(短期线1,1)<5) AND (中期线1>REF(中期线1,1) OR 短期线1>REF(短期线1,1)))

OR (长期线1<8 AND 中期线1<7 AND 短期线1<15 AND 短期线1>REF(短期线1,1)) OR (长期线1<10 AND 中期线1<7 AND 短期线1<1) ;

底部区域:=FILTER(底部,10);

金叉:=长期线1<15 AND REF(长期线1,1)<15 AND 中期线1<18 AND 短期线1>REF(短期线1,1) AND CROSS(短期线1,长期线1) AND 短期线1>中期线1 

AND (REF(短期线1,1)<5 OR REF(短期线1,2)<5 ) AND (中期线1>=长期线1 OR REF( 短期线1,1)<1 );

低位金叉:=FILTER(金叉,10);

DRAWTEXT(低位金叉, L*0.99, '低金'),COLORLIGREEN;

DRAWTEXT(底部区域, L*0.99, '底部'),COLORYELLOW;

LDM4:=CONST(HHV(REF(HIGH,1),240));

LDM5:=CONST(LLV(REF(LOW,1),240));

LDM6:=LDM4-LDM5;

LDM7:=LOW-LDM6*0.03;

LDM8:=HIGH+LDM6*0.03;

LDM9:=CLOSE>500;

LDM10:=MAX(CLOSE,OPEN);

LDM11:=MIN(CLOSE,OPEN);

LDM12:=0;

LDM13:=1;

LDM14:=IF(LDM9,HIGH,LDM10);

LDM15:=IF(LDM9,LOW,LDM11);

LDM16:=IF(CLOSE>OPEN,IF(LDM13=0,LOW,LDM15),IF(LDM13=0,HIGH,LDM14));

LDM17:=2/1000;

LDM18:=CURRBARSCOUNT;

LDM19:=120;

LDM20:=LDM18<=LDM19;

LDM21:=LOW;{WWW.HONGHAIE.COM}

LDM22:=IF(LDM12=0,LDM21,REF(LDM12,LDM12));

基准价:IF(LDM20,CONST(LDM22),DRAWNULL),DOTLINE,COLORWHITE;

LDM23:=基准价;

LDM24:=LDM23*LDM17;

LDM25:=ABS(LOW-LDM23)<=LDM24;

LDM26:=ABS(OPEN-LDM23)<=LDM24;

LDM27:=ABS(CLOSE-LDM23)<=LDM24;

LDM28:=ABS(HIGH-LDM23)<=LDM24;

LDM29:=LDM25 OR LDM26 OR LDM27 OR LDM28 AND LDM20 AND LDM18!=1;

LDM30:=COUNT(LDM29,LDM19);

精准点:IF(LDM30>0,LDM30+1,0),NODRAW,COLORWHITE;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭