程序化指标公式
问答中心

通达信旺财主图指标公式

通达信指标 2020-06-30阅读量:4062

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

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

F1:=ZIG(3,16);
STICKLINE(F1<REF(F1,1),CONST(HHV(H,0)),CONST(LLV(L,0)),0,-1),COLORAA8800;
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.97,7);
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.94,'');
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.04,8);
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.01,'');
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=ZIG(3,51/5)*100,COLORWHITE;
G:=MA(B,2),COLORYELLOW;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
A30:=MA(C,30);
ANGLEA30:=ATAN((A30/REF(A30,1)-1)*100)*57.3;
ANGLE30:=ANGLEA30>40 OR ANGLEA30<-48;
A10:=MA(C,10);
ANGLEA10:=ATAN((A10/REF(A10,1)-1)*100)*57.3;
ANGLE10:=ANGLEA10>20 OR ANGLEA10<-25 AND CLOSE>MA(CLOSE,20) ;
A3010:=ANGLE30 OR  ANGLE10;
AAZT:=COUNT(CLOSE>REF(CLOSE,1)*1.097 ,20)>0;
STICKLINE( W=1000,CONST(HHV(H,0)),CONST(LLV(L,0)),5,0),COLORCYAN;
STICKLINE( D=1000,CONST(HHV(H,0)),CONST(LLV(L,0)),5,0 ),COLOR0099FF;
STICKLINE( W=1000 AND AAZT,CONST(HHV(H,0)),CONST(LLV(L,0)),5,0),COLORGREEN;
STICKLINE( D=1000 AND AAZT,CONST(HHV(H,0)),CONST(LLV(L,0)),5,0),COLORRED;
A1:=(3*C+L+O+H)/6;
DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.95,'★旺财') ,LINETHICK2,COLORRED;
DRAWICON(REF(C,4)>REF(O,4) AND REF(C,3)<REF(C,4) AND REF(C,2)<REF(C,4) AND REF(C,1)<REF(C,4) AND C>REF(C,4),L*0.96,22);
DRAWICON(REF(C,3)>REF(O,3) AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,3) AND C>REF(C,3),L*0.96,22);
折线:ZIG(3,20);
前波峰值:=PEAK(3,20,1);
前波谷值:=TROUGH(3,20,1);
DRAWNUMBER(折线>REF(折线,1) AND REF(折线,1)<REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);
DRAWNUMBER(折线<REF(折线,1) AND REF(折线,1)>REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);
买线:=ZIG(3,10);
卖线:=MA(买线,3);{更多指标关注微信公众号:程序化指标}
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线>=卖线);
DRAWTEXT(游资,(支撑*0.98),'--游资进'),COLORLIBLUE;
STICKLINE(游资,(支撑*0.96),支撑,9,0),COLORLIBLUE;
VARDD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
波段买点:=CROSS((ZIG(3,10)),(MA((ZIG(3,10)),3)));
DRAWTEXT(波段买点,(支撑*0.77),'--波段买'),COLOR00AAFF;
STICKLINE(波段买点,(支撑*0.95),支撑,4,0),COLORLIRED;
STICKLINE(CROSS(买线,卖线),O,C,4,0),COLOR00AAFF;
STICKLINE(买线<卖线,H,L,0,0),COLORGREEN;
STICKLINE(买线<卖线,C,O,3,0),COLOR007700;
STICKLINE(买线<卖线,C,O,2.5,0),COLOR008E00;
STICKLINE(买线<卖线,C,O,2.2,0),COLOR009900;
STICKLINE(买线<卖线,C,O,2,0),COLOR00A600;
STICKLINE(买线<卖线,C,O,1.8,0),COLOR00B500;
STICKLINE(买线<卖线,C,O,1.5,0),COLOR00C600;
STICKLINE(买线<卖线,C,O,1.2,0),COLOR00D500;
STICKLINE(买线<卖线,C,O,1,0),COLOR00E600;
STICKLINE(买线>=卖线,H,L,0,0),COLOR0000FF;
STICKLINE(买线>=卖线,C,O,3,0),COLOR0000B6;
STICKLINE(买线>=卖线,C,O,2.8,0),COLOR0000B7;
STICKLINE(买线>=卖线,C,O,2.5,0),COLOR0000C8;
STICKLINE(买线>=卖线,C,O,2.2,0),COLOR0000D9;
STICKLINE(买线>=卖线,C,O,2,0),COLOR0000CD;
STICKLINE(买线>=卖线,C,O,1.8,0),COLOR0000E9;
STICKLINE(买线>=卖线,C,O,1.5,0),COLOR0000EA;
STICKLINE(买线>=卖线,C,O,1,0),COLOR0000FF;{需要编写选股关注微信公众号:程序化指标}
黑马现:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
DRAWTEXT(黑马现,(支撑*0.94),'--发现黑马'),COLORFF6600;
STICKLINE(黑马现,(支撑*0.9),(支撑*0.95),9,0),COLORFF6600;
机构:=((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))=1) AND (CROSS(ZIG(3,8),REF(ZIG(3,8),1))) AND (CROSS(ZIG(3,13),REF(ZIG(3,13),1)));
DRAWTEXT(机构,(L*0.67),'--机构进'),COLORYELLOW;
STICKLINE(机构,(L*0.92),(L*0.98),3,0),COLORYELLOW;
DRAWTEXT((VARDD=1),(H*1.1),'-卖'),COLORWHITE;
STICKLINE((VARDD=1),(H*1.01),(H*1.05),3,0),COLORWHITE;{WWW.HONGHAIE.COM}
奔牛:=(CROSS((3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5))),(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND (SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)<2.1 AND 买线>=卖线);
DRAWTEXT(奔牛,(支撑*0.99),'--奔牛'),COLORFF00FF;
STICKLINE(奔牛,(支撑*0.96),(支撑),4,0),COLORFF00FF;


版权声明

所有指标均为免费分享。

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

分享:

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

程序化指标公众号

左边广告一

关闭

右边广告二

关闭