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

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信低点组合(三合一)未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-04-24|栏目:通达信公式

    STICKLINE(C>0,20,80.1,5,0),COLOR2F4F4F;
    STICKLINE(C>0,100,80.1,5,0),COLOR5C4033;
    STICKLINE(C>0,0,20.1,5,0),COLOR5C4033;
    {多日k线多头排列时,出现买进信号时可买进,持股时间依行情而定,做多;
    多日K线向下空头发散时,清仓。}
    VAR3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
    K13:Sma(VAR3,3,1) ;
    D14:SMA(K13,3,1) ;
    J13:=3*K13-2*D14;
    VAR31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
    K21:=SMA(VAR31,3,1) ;
    D21:=SMA(K21,3,1) ;
    VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
    K34:=SMA(VAR34,3,1);
    D34:=SMA(K34,3,1) ;
    VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
    K55:SMA(VAR55,5,1) ,COLORCYAN,LINETHICK1;
    D55:SMA(K55,5,1),COLORFF9933;
    J55:=3*K55-2*D55;
    DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
    STICKLINE(DIBU=1,80,60,5.8,1),COLORWHITE;
    TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
    STICKLINE(TOBU=1,40,20,5.8,1),COLORCYAN;
    顶部:80,COLOR55AA77,LINETHICK1;
    底部:20,COLOR55AA77,LINETHICK1;
    中轴线:50,POINTDOT,COLORRED;
    天线:100, POINTDOT,COLORRED;
    底线:0, POINTDOT,COLORRED;
    现价:=C;

    {阶段指标信号}
    VAR2:=LLV(LOW,10);
    VAR33:=HHV(HIGH,25);
    动力线:= ema((CLOSE-VAR2)/(VAR33-VAR2)*4,4);
    底部2:=0.2,COLOR70DB93;
    关注:=0.5,COLORBLUE;
    数值:=动力线,COLORA8A8A8;
    阶段底部:=crOSS(动力线,底部2);
    STICKLINE(阶段底部,0.2,49,1,0),COLORWHITE;
    DRAWICON(阶段底部,50,11);
    阶段关注:=CROSS(动力线,关注);
    STICKLINE(阶段关注,0.1,20,1,0),COLORLIMAGENTA;
    阶段卖出:= 3.2,COLORC6C600;
    BB:=3.5,COLOR0088FF;
    清仓卖出:=3.5,COLORFF75FF;
    清仓:=CROSS(清仓卖出,动力线);
    STICKLINE(清仓,100,70,1,0),COLORYELLOW;
    短线卖出:=CROSS(阶段卖出,动力线);
    STICKLINE(短线卖出,100,90,2,0),COLORCYAN;

    {信号灯指标信号}
    A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    A2:=SMA(A1,3,1);
    A3:=SMA(A2,3,1);
    A4:=3*A2-2*A3;
    X:=LLV(A4,2)=LLV(A4,8);
    LC:=REF(CLOSE,1);
    rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);
    TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
    HD:=(HIGH - REF(HIGH,1));
    LD:=(REF(LOW,1) - LOW);
    DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
    DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
    pdi:=((DMP * 100) / TR1);
    mdi:=((DMM * 100) / TR1);
    ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
    AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
    wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
    NEWvol:=(RSI5 - WR10);
    最佳买入:=(AV + NEWVOL);
    最佳买入选股:=IF(CROSS(最佳买入,0),1,0);
    VAR11:=SMA(最佳买入选股,3,1);
    VAR22:=SMA(VAR11,3,1);
    VAR333:=SMA(VAR22,3,1);
    XG:=CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20 AND CROSS(VAR22,VAR333) AND VAR22<40;
    STICKLINE(XG,0.2,10,2,0),COLORBLUE;
    DRAWTEXT(CURRBARSCOUNT=60,90,'K值线多头排列,做多'),COLORWHITE;

    image.png



    未来函数检测公式代码域:

    STICKLINE(C>0,20,80.1,5,0),COLOR2F4F4F;STICKLINE(C>0,100,80.1,5,0),COLOR5C4033;STICKLINE(C>0,0,20.1,5,0),COLOR5C4033;{多日k线多头排列时,出现买进信号时可买进,持股时间依行情而定,做多;多日K线向下空头发散时,清仓。}VAR3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K13:Sma(VAR3,3,1) ;D14:SMA(K13,3,1) ;J13:=3*K13-2*D14;VAR31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;K21:=SMA(VAR31,3,1) ;D21:=SMA(K21,3,1) ;VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;K34:=SMA(VAR34,3,1);D34:=SMA(K34,3,1) ;VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K55:SMA(VAR55,5,1) ,COLORCYAN,LINETHICK1;D55:SMA(K55,5,1),COLORFF9933;J55:=3*K55-2*D55;DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;STICKLINE(DIBU=1,80,60,5.8,1),COLORWHITE;TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;STICKLINE(TOBU=1,40,20,5.8,1),COLORCYAN;顶部:80,COLOR55AA77,LINETHICK1;底部:20,COLOR55AA77,LINETHICK1;中轴线:50,POINTDOT,COLORRED;天线:100, POINTDOT,COLORRED;底线:0, POINTDOT,COLORRED;现价:=C;{阶段指标信号}VAR2:=LLV(LOW,10);VAR33:=HHV(HIGH,25);动力线:= ema((CLOSE-VAR2)/(VAR33-VAR2)*4,4);底部2:=0.2,COLOR70DB93;关注:=0.5,COLORBLUE;数值:=动力线,COLORA8A8A8;阶段底部:=crOSS(动力线,底部2);STICKLINE(阶段底部,0.2,49,1,0),COLORWHITE;DRAWICON(阶段底部,50,11);阶段关注:=CROSS(动力线,关注);STICKLINE(阶段关注,0.1,20,1,0),COLORLIMAGENTA;阶段卖出:= 3.2,COLORC6C600;BB:=3.5,COLOR0088FF;清仓卖出:=3.5,COLORFF75FF;清仓:=CROSS(清仓卖出,动力线);STICKLINE(清仓,100,70,1,0),COLORYELLOW;短线卖出:=CROSS(阶段卖出,动力线);STICKLINE(短线卖出,100,90,2,0),COLORCYAN;{信号灯指标信号}A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A2:=SMA(A1,3,1);A3:=SMA(A2,3,1);A4:=3*A2-2*A3;X:=LLV(A4,2)=LLV(A4,8);LC:=REF(CLOSE,1);rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);pdi:=((DMP * 100) / TR1);mdi:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));NEWvol:=(RSI5 - WR10);最佳买入:=(AV + NEWVOL);最佳买入选股:=IF(CROSS(最佳买入,0),1,0);VAR11:=SMA(最佳买入选股,3,1);VAR22:=SMA(VAR11,3,1);VAR333:=SMA(VAR22,3,1);XG:=CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20 AND CROSS(VAR22,VAR333) AND VAR22<40;STICKLINE(XG,0.2,10,2,0),COLORBLUE;DRAWTEXT(CURRBARSCOUNT=60,90,'K值线多头排列,做多'),COLORWHITE;

    未发现:CAPITAL...

    未发现:COST...

    未发现:DYNAINFO...

    未发现:FINANCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BACKSET...

    未发现:BARSNEXT...

    警惕!警惕!警惕!该公式包含未来函数:CURRBARSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRAWLINE...

    未发现:REFX...

    未发现:FLATZIG...

    未发现:FLATZIGA...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEAK...

    未发现:PEAKA...

    未发现:PEAKBARS...

    未发现:PEAKBARSA...

    未发现:PLOYLINE...

    未发现:REFDATE...

    未发现:TROUGH...

    未发现:TROUGHA...

    未发现:TROUGHBARS...

    未发现:XMA...

    未发现:ZIG...

    未发现:ZIGA...

    未发现:ZXNH...

    未发现:#YEAR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEAK...

    未发现:$PEAKBARS...

    未发现:$TROUGH...

    未发现:$TROUGHBARS...

    未发现:$FLATZIG...

    未发现:$FLATZIGA...

    未发现:$PEAKA...

    未发现:$PEAKBARSA...

    未发现:$TROUGHA...

    未发现:$ZIGA...

    未发现:$FFT...

    未发现:$BACKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNAINFO...

    未发现:$FINANCE...

    未发现:$DRAWLINE...


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

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

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

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

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