通达信《风向标》副图指标公式源码

通达信《风向标》副图指标公式源码:

BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:(BIAS1+2*BIAS2+3*BIAS3)/6,COLORRED;
乖离:MA(BIAS,3),COLORGREEN;
乖离1:MA(乖离,5),COLORGREEN;
DRAWBAND(BIAS,RGB(100,10,5),乖离,RGB(5,100,50));
DRAWBAND(BIAS,RGB(100,10,5),乖离1,RGB(5,100,50));
DRAWBAND(BIAS,RGB(250,0,0),0,RGB(0,250,250));
IF(C,BIAS,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(BIAS<=REF(BIAS,1) OR BIAS<乖离1 ,BIAS,DRAWNULL),COLORBLUE,LINETHICK2;
IF(C,乖离1,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(乖离1<=REF(乖离1,1),乖离1,DRAWNULL),COLOR33FF33,LINETHICK2;
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9,0,10,3,1),COLORGREEN;
STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9,10,20,3,0),COLORGREEN;
0;
A4:=MA(CLOSE,20);
A5:=(CLOSE > MA(CLOSE,5));
A6:=(MA(CLOSE,5) > MA(CLOSE,10));
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
AVX:((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10));
DRAWBAND(AVX,RGB(250,250,0),0,RGB(0,100,250));
AVX2:MA((((((IF(A5,100,0) + IF(A6,100,0)) + IF(A7,100,0)) + IF(A8,100,0)) + IF(A9,100,0)) + IF(A11,100,0))/6,3.5);
DRAWBAND(AVX2,RGB(100,10,0),60,RGB(0,100,0));
VARR:=REF(CLOSE,1);{WWW.ZHIBIAO123.CN}
AVX3:SMA(MAX(CLOSE-VARR,0),5,1)/SMA(ABS(CLOSE-VARR),5,1)*100,COLORMAGENTA;
DRAWBAND(AVX3,RGB(200,0,250),60,RGB(0,200,0));
80,POINTDOT,COLORBLUE,LINETHICK2;
70,POINTDOT,COLORWHITE,LINETHICK2;
20,POINTDOT,COLORGREEN,LINETHICK2;
10,POINTDOT,COLORBLUE,LINETHICK2;
STICKLINE(AVX<=-20 AND AVX>=REF(AVX,1) AND REF(AVX,1)<=REF(AVX,2)AND AVX2<=40
AND REF(AVX3,1)<=40 AND AVX3>=REF(AVX3,1) AND REF(AVX3,1)=LLV(AVX3,8),0,20,2,0),COLORRED;
KB1:=EMA(C,3)-EMA(C,18);
DB1:=EMA(KB1,3);
KB:KB1*60;
DB:DB1*60;
DRAWBAND(KB,RGB(250,50,5),DB,RGB(0,200,200));
IF(C,KB,DRAWNULL),COLORRED,LINETHICK2;
IF(KB<=REF(KB,1),KB,DRAWNULL),COLORCYAN,LINETHICK2;
IF((AVX3<REF(AVX3,1)OR AVX3<REF(AVX3,2)) AND (REF(AVX3,1)=HHV(AVX3,5) OR REF(AVX3,2)=HHV(AVX3,5)) AND KB<REF(KB,1) AND REF(KB,1)=HHV(KB,5) AND REF(KB,1)>=20,100,110);{WWW.ZHIBIAO123.CN}
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
IF((趋势线>REF(趋势线,1) AND REF(趋势线,1)=LLV(趋势线,13) AND REF(趋势线,1)<=35)OR CROSS(趋势线,10),-50,-70),COLORRED;
VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,10)/VAR1/7;
VAR4:=DMA(VAR2,VOL/VAR3);
抄底:=(CLOSE-VAR4)/VAR4*500,COLORLIMAGENTA;
抄底1:=MA(抄底,3);
准备抄底:IF(REF(抄底,1)<-50 AND CROSS(抄底,抄底1),-50,-70),COLORYELLOW;

 

负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159619.html,转载请注明出处。
通达信《抄底先锋》强龙主升浪战法VIP升级版全套10个指标手机版通用!
通达信《抄底先锋》强龙主升浪战法VIP升级版全套10个指标手机版通用!
9分钟前 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录