您的位置 首页 通达信公式

通达信三环上涨主图指标公式

HGW111:=1;
HGW112:=((((2*CLOSE)+HIGH)+LOW) / 4);
HGW114:=LLV(LOW,5);
HGW115:=HHV(HIGH,4);
C1:=(EMA((((HGW112-HGW114)/(HGW115-HGW114))*100),4)*HGW111),COLORRED,LINETHICK2;
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*HGW111),COLORFFFFFF,LINETHICK2;
GS:=C1>=C2 ;
KZ:=C2>C1;
STICKLINE(GS,C,O,3,0),COLORRED;
STICKLINE(GS,H,L,0.5,0),COLORRED;
STICKLINE(KZ,C,O,3,0),COLOR00FF00;
STICKLINE(KZ,H,L,0.5,0),COLOR00FF00;
STICKLINE(GS,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(GS,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(GS,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(GS,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(KZ,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(KZ,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(KZ,CLOSE,OPEN,0.5,0),COLORCYAN;
操盘线:MA(C,5),COLORWHITE,LINETHICK1;
黄金线:MA(C,10),COLOR00FFFF,LINETHICK2;
GSF:=LLV(LOW,34),LINETHICK1,COLORFFFFCC;
KZF:=MA(GSF,4),LINETHICK1,COLORYELLOW;
TYP := (HIGH + LOW + CLOSE)/3;
cci1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
GSFX1:=Abs(REF(CCI1,1)-CCI1),LINETHICK0;
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
GSFX2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
GSFX3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
GSFX4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
GSFX5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
GSA:=(3*C+H+L+O)/6;
HGW11:=(8*GSA+7*REF(GSA,1)+6*REF(GSA,2)+5*REF(GSA,3) +4*REF(GSA,4)+3*REF(GSA,5)+2*REF(GSA,6)+REF(GSA,8))/36;
HGW12:=(HHV(HGW11,5)+HHV(HGW11,10)+HHV(HGW11,20))/3;
HGW13:=(LLV(HGW11,5)+LLV(HGW11,10)+LLV(HGW11,20))/3;
HGW14:=(HHV(HGW12,5)+HHV(HGW12,10)+HHV(HGW12,20))/3;
HGW15:=(LLV(HGW13,5)+LLV(HGW13,10)+LLV(HGW13,20))/3;
HGW16:=(LLV(HGW11,2)+LLV(HGW11,4)+LLV(HGW11,6))/3;
短线:=HGW11,COLORWHITE;
中线:=HGW16,COLORRED;
下跌:=IF(HGW11=HGW16,HGW16, DRAWNULL),COLORGREEN;
ACB1:= CCI1>GSFX4;
立桩量:=FILTER(ACB1,0),NODRAW;
ACB2:=IF(BARSLAST(立桩量)=1 ,1,0);
STICKLINE(立桩量 !=1,REF(HIGH,BARSLAST(立桩量)), REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;
成立1:=ACB2=1;
条件成立1:=FILTER(成立1,5);
ACB11:= CCI1< -GSFX4 ;
立桩量2:=FILTER(ACB11,0),NODRAW;
ACB22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);
突破2:=ACB22=1;
HGW:=C>MA(C,10);
STICKLINE(CLOSE AND 下跌!= HGW16,REF(LOW,BARSLAST(立桩量2)), REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;
ACB:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);
成立2:=ACB=1;
条件成立2:=FILTER(成立2,5) AND HGW;
DRAWICON(条件成立2,L-0.1,18);

通达信三环上涨主图指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/107522.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部