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

    通达信公式

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

    通达信精准买卖KDJ能量柱更新版副图贴图未加密选股指标公式源码

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

    DRAWGBK(OPEN>0,RGB(185,135,0),RGB(85,55,0),0,'02',0);
    NOTEXT顶:95,DOTLINE,COLORBLACK;
    NOTEXT底:0,DOTLINE,COLORBLACK;
    NOTEXT分界线:50,DOTLINE,COLORBLACK;
    A1:=(CLOSE+HIGH+LOW+OPEN)/4;
    ma1:=ema(A1,5);
    RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K1:=SMA(RSV1,3,1);
    D1:=SMA(K1,3,1);
    J1:=3*K1-2*D1;
    RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
    K2:=SMA(RSV2,3,1);
    D2:=SMA(K2,3,1);
    J2:=3*K2-2*D2;
    RSV3:=(CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*100;
    K3:=SMA(RSV3,3,1);
    D3:=SMA(K3,3,1);
    J3:=3*K3-2*D3;
    RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
    K4:=SMA(RSV4,3,1);
    D4:=SMA(K4,3,1);
    J4:=3*K4-2*D4;
    K:EMA((K1+K2+K3+K4)/4,3),COLORRED,NODRAW;
    D:EMA((D1+D2+D3+D4)/4,3),COLORBLUE,NODRAW;
    J:EMA(J1,3)COLORLIMAGENTA,NODRAW;
    过滤:= K>REF(K,1) AND K3>=REF(K3,1);
    STICKLINE(过滤,0,K,3,0),COLOR993333;
    STICKLINE(过滤,0,K,2.7.5,0),COLOR995533;
    STICKLINE(过滤,0,K,2.4,0),COLOR996633;
    STICKLINE(过滤,0,K,2.1,0),COLOR998833;
    STICKLINE(过滤,0,K,1.8,0),COLOR999966;
    STICKLINE(过滤,0,K,1.5,0),COLOR999933;
    STICKLINE(过滤,0,K,1.2,0),COLOR999966;
    STICKLINE(过滤,0,K,0.9,0),COLOR999988;
    STICKLINE(过滤,0,K,0.6,0),COLORBLACK;
    STICKLINE(过滤,0,K,0.3,0),COLORCCCCCC;
    RSV6:=(INDEXC-LLV(INDEXL,7))/(HHV(INDEXH,7)-LLV(INDEXL,7))*100;
    KI:=SMA(RSV6,3,1);
    DI:=SMA(KI,3,1);
    JI:=3*KI-2*DI;
    WIN:=WINNER(CLOSE*0.9)*100;
    VAR1:=EMA(EMA(CLOSE,9),9);
    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
    开始控盘:=过滤 AND (控盘>0 OR WIN>1) AND K>REF(K,1) AND K3>REF(K3,1);
    STICKLINE(开始控盘,0,K,3,0),COLOR0000FF;
    STICKLINE(开始控盘,0,K,2.7,0),COLOR001BFF;
    STICKLINE(开始控盘,0,K,2.4,0),COLOR0025FF;
    STICKLINE(开始控盘,0,K,2.1,0),COLOR0039FF;
    STICKLINE(开始控盘,0,K,1.8,0),COLOR0052FF;
    STICKLINE(开始控盘,0,K,1.5,0),COLOR006AFF;
    STICKLINE(开始控盘,0,K,1.2,0),COLOR0089FF;
    STICKLINE(开始控盘,0,K,0.9,0),COLOR009CFF;
    STICKLINE(开始控盘,0,K,0.6,0),COLOR00C0FF;
    STICKLINE(开始控盘,0,K,0.3,0),COLOR00CAFF;
    趋势:=MA1>=REF(MA1,1) AND K2>REF(K2,1) AND K3>REF(K3,1) AND K4>REF(K4,1) AND K>REF(K,1) AND WIN>1;
    STICKLINE(开始控盘 AND 趋势,0,K,0.6,0),COLOR99A9FF;
    STICKLINE(开始控盘 AND 趋势,0,K,0.3,0),COLOR9999FF;
    指数趋势:EMA(JI,3),COLORFF9966,LINETHICK1,NODRAW;
    筹码:WIN,COLOR009CFF,NODRAW;
    NOTEXTK:K,COLORRED,LINETHICK1;
    NOTEXTD:D,COLORBLUE,LINETHICK1;
    NOTEXTJ:J,COLORLIMAGENTA,LINETHICK1;
    X1:=BArslAST(REF(crOSS(K,D),1));
    底背离:=REF(CLOSE,X1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
    DRAWICON(底背离,67,1);

    DRAWTEXT(底背离,60,' 底背离'),COLORWHITE;
    X2:=BARSLAST(REF(CROSS(D,K),1));
    顶背离:=REF(CLOSE,X2+1)<CLOSE AND REF(K,X2+1)>K AND CROSS(D,K);
    DRAWICON(顶背离,92,2);
    DRAWTEXT(顶背离,85,' 顶背离'),COLORCYAN;
    底部:=CROSS(K3,D3) AND K3<25;
    STICKLINE(底部,0,10,2,0),COLOR0000FF;
    DRAWTEXT(底部,25,'底部'),COLORBLUE;
    JCCOUNT:=COUNT(CROSS(K3,D3),BARSLAST(K3>25));
    再次探底:=CROSS(K3,D3) AND K3<25 AND COUNT(JCCOUNT=2,15)=1;
    DRAWTEXT(再次探底,45,'再次探底'),COLORBLUE;image.png



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

    DRAWGBK(OPEN>0,RGB(185,135,0),RGB(85,55,0),0,'02',0);NOTEXT顶:95,DOTLINE,COLORBLACK;NOTEXT底:0,DOTLINE,COLORBLACK;NOTEXT分界线:50,DOTLINE,COLORBLACK;A1:=(CLOSE+HIGH+LOW+OPEN)/4;ma1:=ema(A1,5);RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV1,3,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;RSV2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K2:=SMA(RSV2,3,1);D2:=SMA(K2,3,1);J2:=3*K2-2*D2;RSV3:=(CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*100;K3:=SMA(RSV3,3,1);D3:=SMA(K3,3,1);J3:=3*K3-2*D3;RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K4:=SMA(RSV4,3,1);D4:=SMA(K4,3,1);J4:=3*K4-2*D4;K:EMA((K1+K2+K3+K4)/4,3),COLORRED,NODRAW;D:EMA((D1+D2+D3+D4)/4,3),COLORBLUE,NODRAW;J:EMA(J1,3)COLORLIMAGENTA,NODRAW;过滤:= K>REF(K,1) AND K3>=REF(K3,1);STICKLINE(过滤,0,K,3,0),COLOR993333;STICKLINE(过滤,0,K,2.7.5,0),COLOR995533;STICKLINE(过滤,0,K,2.4,0),COLOR996633;STICKLINE(过滤,0,K,2.1,0),COLOR998833;STICKLINE(过滤,0,K,1.8,0),COLOR999966;STICKLINE(过滤,0,K,1.5,0),COLOR999933;STICKLINE(过滤,0,K,1.2,0),COLOR999966;STICKLINE(过滤,0,K,0.9,0),COLOR999988;STICKLINE(过滤,0,K,0.6,0),COLORBLACK;STICKLINE(过滤,0,K,0.3,0),COLORCCCCCC;RSV6:=(INDEXC-LLV(INDEXL,7))/(HHV(INDEXH,7)-LLV(INDEXL,7))*100;KI:=SMA(RSV6,3,1);DI:=SMA(KI,3,1);JI:=3*KI-2*DI;WIN:=WINNER(CLOSE*0.9)*100;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;开始控盘:=过滤 AND (控盘>0 OR WIN>1) AND K>REF(K,1) AND K3>REF(K3,1);STICKLINE(开始控盘,0,K,3,0),COLOR0000FF;STICKLINE(开始控盘,0,K,2.7,0),COLOR001BFF;STICKLINE(开始控盘,0,K,2.4,0),COLOR0025FF;STICKLINE(开始控盘,0,K,2.1,0),COLOR0039FF;STICKLINE(开始控盘,0,K,1.8,0),COLOR0052FF;STICKLINE(开始控盘,0,K,1.5,0),COLOR006AFF;STICKLINE(开始控盘,0,K,1.2,0),COLOR0089FF;STICKLINE(开始控盘,0,K,0.9,0),COLOR009CFF;STICKLINE(开始控盘,0,K,0.6,0),COLOR00C0FF;STICKLINE(开始控盘,0,K,0.3,0),COLOR00CAFF;趋势:=MA1>=REF(MA1,1) AND K2>REF(K2,1) AND K3>REF(K3,1) AND K4>REF(K4,1) AND K>REF(K,1) AND WIN>1;STICKLINE(开始控盘 AND 趋势,0,K,0.6,0),COLOR99A9FF;STICKLINE(开始控盘 AND 趋势,0,K,0.3,0),COLOR9999FF;指数趋势:EMA(JI,3),COLORFF9966,LINETHICK1,NODRAW;筹码:WIN,COLOR009CFF,NODRAW;NOTEXTK:K,COLORRED,LINETHICK1;NOTEXTD:D,COLORBLUE,LINETHICK1;NOTEXTJ:J,COLORLIMAGENTA,LINETHICK1;X1:=BArslAST(REF(crOSS(K,D),1));底背离:=REF(CLOSE,X1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);DRAWICON(底背离,67,1);DRAWTEXT(底背离,60,' 底背离'),COLORWHITE;X2:=BARSLAST(REF(CROSS(D,K),1));顶背离:=REF(CLOSE,X2+1)<CLOSE AND REF(K,X2+1)>K AND CROSS(D,K);DRAWICON(顶背离,92,2);DRAWTEXT(顶背离,85,' 顶背离'),COLORCYAN;底部:=CROSS(K3,D3) AND K3<25;STICKLINE(底部,0,10,2,0),COLOR0000FF;DRAWTEXT(底部,25,'底部'),COLORBLUE;JCCOUNT:=COUNT(CROSS(K3,D3),BARSLAST(K3>25));再次探底:=CROSS(K3,D3) AND K3<25 AND COUNT(JCCOUNT=2,15)=1;DRAWTEXT(再次探底,45,'再次探底'),COLORBLUE;

    未发现: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号