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

    通达信公式

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

    通达信回调追牛主图贴图未加密选股指标公式源码

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

    {【回调追牛】 }
    Ema30:ema(CLOSE,30),COLORGRAY;
    EMA5:=EMA(CLOSE,5);
    X2:=EMA5;
    X3:=EMA30;
    主升:=C>X2 AND C>X3;
    主跌:=C<X3;
    回调:=C<X2 AND C>X3;
    反弹:=C>X2 AND C<X3;
    STICKLINE(主升,CLOSE,O,4.8,0),COLOR0000BB;
    STICKLINE(主升,CLOSE,O,3,0),COLOR0000CC;
    STICKLINE(主升,CLOSE,O,1.5,0),COLOR0000DD;
    STICKLINE(主升,CLOSE,O,1,0),COLOR0000EE;
    STICKLINE(主升,CLOSE,O,0.5,0),COLOR0000FF;
    STICKLINE(主升,H,L,0,0),COLOR0000FF;
    STICKLINE(主跌,CLOSE,O,4.8,0),COLOR555500;
    STICKLINE(主跌,CLOSE,O,3,0),COLOR888800;
    STICKLINE(主跌,CLOSE,O,1.5,0),COLORAAAA00;
    STICKLINE(主跌,CLOSE,O,1,0),COLORCCCC00;
    STICKLINE(主跌,CLOSE,O,0.5,0),COLOREEEE00;
    STICKLINE(主跌,H,L,0,0),COLOREEEE00;
    STICKLINE(回调,O,C,4.8,0),COLORBB4400;
    STICKLINE(回调,O,C,3,0),COLORCC5500;
    STICKLINE(回调,O,C,1.5,0),COLORDD6600;
    STICKLINE(回调,O,C,1,0),COLOREE7700;
    STICKLINE(回调,O,C,0.5,0),COLORFF8800;
    STICKLINE(回调,H,L,0,0),COLORFF8800;
    STICKLINE(反弹,O,C,4.8,0),COLOR0077BB;
    STICKLINE(反弹,O,C,3,0),COLOR0099CC;
    STICKLINE(反弹,O,C,1.5,0),COLOR00bbdD;
    STICKLINE(反弹,O,C,1,0),COLOR00ddeE;
    STICKLINE(反弹,O,C,0.5,0),COLOR00FFFF;

    STICKLINE(反弹,H,L,0,0),COLOR00FFFF;
    DRAWTEXT_FIX(C>0,0,0,0,'【█】涨势'),COLOR0000AA;
    DRAWTEXT_FIX(C>0,0,0.05,0,'【█】回调'),COLORDD6600;
    DRAWTEXT_FIX(C>0,0,0.10,0,'【█】跌势'),COLORAAAA00;
    DRAWTEXT_FIX(C>0,0,0.15,0,'【█】反弹'),COLOR00BBDD;
    DRAWTEXT_FIX(C>0,0,0.20,0,'【█】追牛'),COLORFF00FF;

    均价线:=AMOUNT/V/100;
    C2:=REF(C,1);
    AA1:MA(C,4);
    卖出:IF(AA1<=REF(AA1,1),AA1,DRAWNULL)COLORCYAN,LINETHICK2;
    涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
    STICKLINE(涨停,OPEN,CLOSE,4.6,0),COLORWHITE;
    STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLORBLUE;
    STICKLINE(涨停,H,L,0,0),COLORBLUE;
    B1:='┄┄┄┄';
    DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORCYAN;
    B3:='┄┄┄┄';
    DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORLIMAGENTA;
    B2:='┄┄┄┄';
    DRAWTEXT(涨停,L,B2),COLORBROWN;

    DRAWTEXT(涨停,H*0.988,'---涨停'),COLORBLUE;

    买进:DRAWTEXT(crOSS(AA1,X3*0.998-0.018),L*0.97,'★-买进- '),COLORFFFF00,COLORBLUE;
    买进1:DRAWTEXT(CROSS(L,X3*0.9998+0.018) AND C>REF(C,1),L*0.97,'★-买进 '),COLORFFFF00,COLORBLUE;

    HH:=COUNT(涨停,15)>=1 AND H/C<1.025 AND C>REF(C,1);
    LC:=REF(CLOSE,1);
    操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(Abs(CLOSE-LC),2,1)*100;
    趋势线:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;
    震仓线:=45;
    震仓线2:=50;
    逃命线:=80;
    抄底线:=20;
    绝底线:=5;

    PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
    PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
    PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
    A:=SMA(L,4,3) ;
    {STICKLINE(A AND REF(PP,1) AND HH ,A*0.998,A*0.996,5,0);
    DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
    小牛1:DRAWICON(A AND REF(PP,1) AND HH,L*0.96,23);
    STICKLINE(小牛1,O,C,0.5,0),COLORFF00FF;
    小牛:DRAWTEXT(小牛1,L*0.95,'★-小牛- '),COLORFF00FF;}

    STICKLINE(A AND REF(PP3,1) AND HH ,A*0.998,A*0.996,5,0);
    DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
    牛:DRAWICON(A AND REF(PP3,1) AND HH,L*0.97,23);
    STICKLINE(牛,O,C,1,0),COLORFF00FF;
    追牛:DRAWTEXT(牛,L*0.945,'★-追牛---------- '),COLORFF00FF;

    理想通:=EMA((C-LLV(L,5))/(HHV(H,6)-LLV(L,6)),2)*100,COLORBLUE,LINETHICK1;
    VARB1:=SMA(SMA(理想通,2,1),2,1);
    VARB2:=(VARB1/2+36.8)*1;
    VARB3:=SMA(VARB2,2,1)+2.2,COLORFFFF00;
    VARB4:=SMA(VARB2,2,1)-35.08,COLOR00FF00,LINETHICK1;
    卖出1:DRAWTEXT(CROSS(VARB3,理想通*0.9998+0.0018) AND VARB3>67 AND C<=O*1.008 ,H*1.0012,'-卖出-★ '),COLOR00FF00;
    卖出2:DRAWTEXT(CROSS(VARB3,理想通*0.9998+0.0018) AND VARB3>67 ,H*1.0112,' '),COLOR00FF00;

    加仓:DRAWTEXT(CROSS(理想通,VARB4*0.9998+0.0018),L*0.986,'★-加仓- '),COLOR0000FF;

    M1:=5;
    M2:=10;
    M3:=20;
    M4:=60;
    超底线:=15;
    dif:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
    DEA:=EMA(DIF,9);
    AAA:=(DIF-DEA)*2*60;
    潜伏:=CROSS(AAA-REF(AAA,1),8),COLORWHITE,LINETHICK2;
    XG:=潜伏;
    STICKLINE(XG,8,0,2,0),COLORWHITE;

    image.png



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

    {【回调追牛】 }Ema30:ema(CLOSE,30),COLORGRMY;EMM5:=EMM(CLOSE,5);X2:=EMM5;X3:=EMM30;主升:=C>X2 MND C>X3;主跌:=C<X3;回调:=C<X2 MND C>X3;反弹:=C>X2 MND C<X3;STICKLINE(主升,CLOSE,O,4.8,0),COLOR0000BB; STICKLINE(主升,CLOSE,O,3,0),COLOR0000CC; STICKLINE(主升,CLOSE,O,1.5,0),COLOR0000DD; STICKLINE(主升,CLOSE,O,1,0),COLOR0000EE; STICKLINE(主升,CLOSE,O,0.5,0),COLOR0000FF; STICKLINE(主升,H,L,0,0),COLOR0000FF; STICKLINE(主跌,CLOSE,O,4.8,0),COLOR555500; STICKLINE(主跌,CLOSE,O,3,0),COLOR888800; STICKLINE(主跌,CLOSE,O,1.5,0),COLORMMMM00; STICKLINE(主跌,CLOSE,O,1,0),COLORCCCC00; STICKLINE(主跌,CLOSE,O,0.5,0),COLOREEEE00; STICKLINE(主跌,H,L,0,0),COLOREEEE00;STICKLINE(回调,O,C,4.8,0),COLORBB4400;STICKLINE(回调,O,C,3,0),COLORCC5500;STICKLINE(回调,O,C,1.5,0),COLORDD6600;STICKLINE(回调,O,C,1,0),COLOREE7700;STICKLINE(回调,O,C,0.5,0),COLORFF8800;STICKLINE(回调,H,L,0,0),COLORFF8800;STICKLINE(反弹,O,C,4.8,0),COLOR0077BB;STICKLINE(反弹,O,C,3,0),COLOR0099CC;STICKLINE(反弹,O,C,1.5,0),COLOR00bbdD;STICKLINE(反弹,O,C,1,0),COLOR00ddeE;STICKLINE(反弹,O,C,0.5,0),COLOR00FFFF;STICKLINE(反弹,H,L,0,0),COLOR00FFFF;DRMWTEXT_FIX(C>0,0,0,0,'【█】涨势'),COLOR0000MM;DRMWTEXT_FIX(C>0,0,0.05,0,'【█】回调'),COLORDD6600;DRMWTEXT_FIX(C>0,0,0.10,0,'【█】跌势'),COLORMMMM00;DRMWTEXT_FIX(C>0,0,0.15,0,'【█】反弹'),COLOR00BBDD;DRMWTEXT_FIX(C>0,0,0.20,0,'【█】追牛'),COLORFF00FF;均价线:=MMOUNT/V/100;C2:=REF(C,1);MM1:MM(C,4);卖出:IF(MM1<=REF(MM1,1),MM1,DRMWNULL)COLORCYMN,LINETHICK2;涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);STICKLINE(涨停,OPEN,CLOSE,4.6,0),COLORWHITE;STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLORBLUE;STICKLINE(涨停,H,L,0,0),COLORBLUE;B1:='┄┄┄┄';DRMWTEXT(均价线 MND 涨停,均价线,B1),COLORCYMN;B3:='┄┄┄┄';DRMWTEXT((O+C)/2 MND 涨停,(O+C)/2 ,B3),COLORLIMMGENTM;B2:='┄┄┄┄';DRMWTEXT(涨停,L,B2),COLORBROWN;DRMWTEXT(涨停,H*0.988,'---涨停'),COLORBLUE;买进:DRMWTEXT(crOSS(MM1,X3*0.998-0.018),L*0.97,'★-买进- '),COLORFFFF00,COLORBLUE;买进1:DRMWTEXT(CROSS(L,X3*0.9998+0.018) MND C>REF(C,1),L*0.97,'★-买进 '),COLORFFFF00,COLORBLUE;HH:=COUNT(涨停,15)>=1 MND H/C<1.025 MND C>REF(C,1);LC:=REF(CLOSE,1);操作线:=SMM(MMX(CLOSE-LC,0),2,1)/SMM(Mbs(CLOSE-LC),2,1)*100;趋势线:=SMM(MMX(CLOSE-LC,0),15,1)/SMM(MBS(CLOSE-LC),15,1)*100;震仓线:=45;震仓线2:=50;逃命线:=80;抄底线:=20;绝底线:=5;PP2:=操作线<震仓线2 MND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 MND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 MND REF(操作线,1)>抄底线;M:=SMM(L,4,3) ;{STICKLINE(M MND REF(PP,1) MND HH ,M*0.998,M*0.996,5,0);DRMWICON(M MND REF(PP,1) MND HH,L*0.98,1);小牛1:DRMWICON(M MND REF(PP,1) MND HH,L*0.96,23);STICKLINE(小牛1,O,C,0.5,0),COLORFF00FF;小牛:DRMWTEXT(小牛1,L*0.95,'★-小牛- '),COLORFF00FF;}STICKLINE(M MND REF(PP3,1) MND HH ,M*0.998,M*0.996,5,0); DRMWICON(M MND REF(PP3,1) MND HH,L*0.98,1); 牛:DRMWICON(M MND REF(PP3,1) MND HH,L*0.97,23); STICKLINE(牛,O,C,1,0),COLORFF00FF;追牛:DRMWTEXT(牛,L*0.945,'★-追牛---------- '),COLORFF00FF;理想通:=EMM((C-LLV(L,5))/(HHV(H,6)-LLV(L,6)),2)*100,COLORBLUE,LINETHICK1;VMRB1:=SMM(SMM(理想通,2,1),2,1);VMRB2:=(VMRB1/2+36.8)*1;VMRB3:=SMM(VMRB2,2,1)+2.2,COLORFFFF00;VMRB4:=SMM(VMRB2,2,1)-35.08,COLOR00FF00,LINETHICK1; 卖出1:DRMWTEXT(CROSS(VMRB3,理想通*0.9998+0.0018) MND VMRB3>67 MND C<=O*1.008 ,H*1.0012,'-卖出-★ '),COLOR00FF00;卖出2:DRMWTEXT(CROSS(VMRB3,理想通*0.9998+0.0018) MND VMRB3>67 ,H*1.0112,' '),COLOR00FF00;加仓:DRMWTEXT(CROSS(理想通,VMRB4*0.9998+0.0018),L*0.986,'★-加仓- '),COLOR0000FF;M1:=5;M2:=10;M3:=20;M4:=60;超底线:=15;dif:=EMM(DCLOSE,12)-EMM(DCLOSE,26);DEM:=EMM(DIF,9);MMM:=(DIF-DEM)*2*60;潜伏:=CROSS(MMM-REF(MMM,1),8),COLORWHITE,LINETHICK2;XG:=潜伏;STICKLINE(XG,8,0,2,0),COLORWHITE;

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

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

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


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

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

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

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

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