• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    黄金三剑客

    当前位置: 主页 > 套装公式 > 黄金三剑客

    通达信黄金通道突破主图指标选股公式精选

    来源:|编辑:小编|时间:2022-02-24|栏目:黄金三剑客

    通达信黄金通道突破主图选股指标公式源码

    源码正文:

    CV:=CLOSE{GPGS};
    bbiboll:(ma(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4,LINETHICK2{GPGS};
    UPR:BBIBOLL+M*stD(BBIBOLL,N){GPGS};
    DWN:BBIBOLL-M*STD(BBIBOLL,N){GPGS};
    BDGD:=C=HHV(C,13){GPGS};
    GDSJ:=BArslAST(FILTER(crOSS(0.8,BDGD),2))+1{GPGS};
    SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)){GPGS};
    高点:REF(C,GDSJ),COLORFF00FF,POINTDOT{GPGS};
    突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW{GPGS};
    STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF{GPGS};
    DRAWTEXT(突破,LOW,'★'),COLOR00FFFF{GPGS};
    BDDD:=C=LLV(C,13){GPGS};
    DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1{GPGS};
    低点:REF(C,DDSJ),COLOR00FF00,POINTDOT{GPGS};
    【量能饱和】:=IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW{GPGS};
    DRAWTEXT_FIX(1,0.005,0.90,0,STRCAT(STRCAT('【量能饱和】:   ',CON2STR(【量能饱和】,1)),'  % ')),COLORYELLOW{GPGS};
    涨跌停封单:=DYnaINFO(58)*C*100{GPGS};
    DRAWTEXT_FIX(1,0.02,0.06,0,'涨跌封单'),DOTLINE,COLORRED{GPGS};
    DRAWNUMBER_FIX(1,0.07,0.06,0,CONST(涨跌停封单)),DOTLINE,COLORRED{GPGS};
    封单比:=涨跌停封单/FINANCE(7)*100{GPGS};
    DRAWTEXT_FIX(1,0.01,0.85,0,'封 单 比='),COLORGREEN{GPGS};
    DRAWNUMBER_FIX(1,0.07,0.85,0,CONST(封单比)),COLORGREEN{GPGS};
    总涨幅周期:=350{GPGS};
    高点位:=REFDATE(HHV(H,总涨幅周期),DATE);
    低点位:=REFDATE(LLV(L,总涨幅周期),DATE){GPGS};
    低位价:=REF(L,BARSLAST(低点位=L)),COLORGREEN{GPGS};
    高位价:=REF(H,BARSLAST(高点位=H)),COLORRED,NODRAW{GPGS};
    曾最大涨幅:=(高位价-低位价)/低位价*100{GPGS};
    当前涨幅:=(C-低位价)/低位价*100{GPGS};
    ZFA:=CON2STR(CONST(曾最大涨幅),2){GPGS};
    ZFB:=CON2STR(CONST(当前涨幅),2){GPGS};
    ZFC:=STRCAT('【曾最大涨幅】:',ZFA){GPGS};
    ZFD:=STRCAT(ZFC,'%'){GPGS};
    ZFE:=STRCAT(ZFD,'【当前总涨幅】:'){GPGS};
    ZFF:=STRCAT(ZFE,ZFB){GPGS};
    ZFG:=STRCAT(ZFF,'%'){GPGS};
    C2:=REF(C,1){GPGS};
    涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0){GPGS};
    STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR0000FF{GPGS};
    STICKLINE(涨停,H,L,0,0),COLOR0000FF{GPGS};
    跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0){GPGS};
    STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN{GPGS};
    STICKLINE(跌停,H,L,0,1),COLORGREEN{GPGS};
    VAR3:=LLV(HIGH,240){GPGS};
    VAR4:=100*(CLOSE-VAR3)/VAR3{GPGS};
    VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100{GPGS};
    VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100{GPGS};
    VAR7:=0{GPGS};
    VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),7,1)*100{GPGS};
    VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100{GPGS};
    VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0){GPGS};
    VAR11:=zig(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3){GPGS};
    VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3){GPGS};
    VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3){GPGS};
    VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3){GPGS};
    VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3){GPGS};
    VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3){GPGS};
    VAR17:=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){GPGS};
    VAR18:=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){GPGS};
    VAR19:=ema(CLOSE,2)-EMA(CLOSE,150){GPGS};
    买1:=VAR10{GPGS};
    买2:=(VAR11+VAR13+VAR15+VAR17){GPGS};
    卖1:=(VAR12+VAR14+VAR16+VAR18){GPGS};
    B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW{GPGS};
    DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'低吸'),COLORMAGENTA{GPGS};
    S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN{GPGS};
    DRAWTEXT(卖1>0,HIGH*1.02,'减仓'),COLORGREEN{X~G!5?1~C~N~{};

    {?W+W_W_G_P.G-S_C_N_{-}

    image.png

    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号