程序化指标公式
问答中心

通达信出击强势买图指标公式

通达信指标 2019-05-29阅读量:3354

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

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


P:=17;N:=1;
VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21))));
VAR2:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));
STICKLINE((VAR1<MA(VAR2,6)),CLOSE,OPEN,7,1),COLORBLUE;
STICKLINE((VAR1<MA(VAR2,6)),LOW,(MIN(OPEN,CLOSE)*1.001),0.6,0),COLORBLUE;
STICKLINE((VAR1<MA(VAR2,6)),MAX(OPEN,CLOSE),HIGH,0.6,0),COLORBLUE;
STICKLINE((VAR1>MA(VAR2,6)),OPEN,CLOSE,7,1),COLORRED;
STICKLINE((VAR1>MA(VAR2,6)),HIGH,MAX(CLOSE,OPEN),0.6,0),COLORRED;
STICKLINE((VAR1>MA(VAR2,6)),LOW,(MIN(CLOSE,OPEN)*1.001),0.8,0),COLORRED;
STICKLINE(((OPEN>CLOSE) AND (VAR1>MA(VAR2,6))),(OPEN*0.998),(CLOSE*1.0025),4.5,0),COLORRED;
STICKLINE(((OPEN<CLOSE) AND (VAR1<MA(VAR2,6))),(CLOSE*0.998),(OPEN*1.0025),4.5,0),COLORBLUE;
STICKLINE(((OPEN>CLOSE) AND (VAR1<MA(VAR2,6))),CLOSE,OPEN,7,0),COLORBLUE;
DRAWTEXT(CROSS(VAR1,MA(VAR2,6)),(LOW*0.984),'B'),COLORRED;
DRAWTEXT(CROSS(MA(VAR2,6),VAR1),(HIGH*1.035),'S'),COLORGREEN;
操作线:MA(CLOSE,P),LINETHICK2,COLORFF00FF;AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,8,0),COLORYELLOW;
STICKLINE(AA,LOW,HIGH,0.5,0),COLORYELLOW;
MA3:=MA(C,3);
MA5:=MA(C,5);
ZX:=(MA3+MA5)/2;
MA30:=MA(C,30);
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买进:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
优:=买进 AND MA5>REF(MA5,1);
DRAWTEXT(买进 OR 优,L*0.99,'买进'),COLORCYAN;
V1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V2:=SMA(V1,7,1);
V3:=SMA(V2,12,1);
V4:=CROSS(V3,V2);
V5:=V3>88 OR V2>88; 
V6:=V4 AND V5;{程序化指标 WWW.HONGHAIE.COM}
STICKLINE(V6 OR CROSS(REF(V2,1),V2) AND V2>95,(HIGH+0.5),(HIGH+1.2),8,0),COLOR00FF00;
DRAWTEXT(V6 OR CROSS(REF(V2,1),V2) AND V2>95,H+1.2,'逃顶'),COLOR00FF00;
V7:=REF(CLOSE,1);V8:=SMA(MAX(CLOSE-V7,0),6,1)/SMA(ABS(CLOSE-V7),6,1)*100;
DRAWTEXT(CROSS(84,V8),HIGH*1.03,'见顶'),COLORYELLOW;
V9:=SMA(MAX(CLOSE-V7,0),12,1)/SMA(ABS(CLOSE-V2),12,1)*100;
DRAWTEXT(CROSS(V9,20),LOW*0.98,'见底'),COLORGREEN;
多空生命线:EMA(CLOSE,55),LINETHICK2,COLORCYAN;
疯牛:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHICK2,COLORYELLOW;
年线:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),LINETHICK2,COLOR30CC00;
V10:=(C+L+H)/3;
V11:=EMA(V10,6);
V12:=EMA(V11,5);
A1:=CROSS(V11,V12) AND C>O;
DRAWTEXT(A1,L*0.96,'出击'),COLORRED;
A2:=MA(C,10)>REF(MA(C,10),1) AND CROSS(C,MA(C,5));
DRAWTEXT(A2=1,L*0.98,'强势买'),COLORRED;
MA10:=MA(C,10);
MA20:=MA(C,20);
BM:=COUNT(MA5>REF(MA5,1),N)=N AND MA5>MA10 AND MA10>MA20 AND MA20>MA30;
奔牛:=BM*5;
DRAWTEXT(奔牛>0,MA30-0.02,'牛'),COLOR00FFFF;
量:=REF(C,REF(HHVBARS(V,21),0));
M1:=MA(CLOSE,1);
A:=V>1*REF(V,1) AND (C/REF(C,1)-1)*100>9.5 AND M1>=量;
DRAWICON(CROSS(A,1),L*0.98,3),COLORWHITE;
DRAWTEXT(A,L*0.97,'进攻买'),LINETHICK1,COLORYELLOW;
VAR5:=(ZIG(3,10)<REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)>REF(ZIG(3,10),2));
VAR6:=(ZIG(3,10)>REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)<REF(ZIG(3,10),2));
DRAWTEXT(VAR5,HIGH*1.05,'撤退跑'),COLORCYAN;
DRAWTEXT(VAR6 AND (DATE<1070804),LOW*0.95,'注意'),COLORCYAN;

版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭