1. 首页 > 投资理念

涨停板上穿250均线公式(涨停后横盘不破涨停价)

涨停板上穿250均线公式(涨停后横盘不破涨停价)

内容导航:
  • 请高手帮忙编写一个条件选股,预警两用的公式:日k线上穿250日均线多头走平或向上?
  • 求公式:要求收盘价上穿5,10,20,60,120,250天均线中的任意四条。
  • 5日均线上穿250日均线公式
  • 求高手帮忙写个通达信选股公式: 120日均线上穿250日均线,且250日均线向上。谢谢!
  • 通达信超赞的主图指标公式是怎样的
  • 成本分布指标 通达信指标公式源码
  • 资金监控庄家和私募和主力的优化主图指标通达信指标公式源码
  • Q1:请高手帮忙编写一个条件选股,预警两用的公式:日k线上穿250日均线多头走平或向上?

    xg:cross(c,ma(c,250)) and ma(c,250)>=ref(ma(c,250),1)
    已经测试,通过

    Q2:求公式:要求收盘价上穿5,10,20,60,120,250天均线中的任意四条。

    这个有点麻烦!
    CROSS(C,MA(C,5))+CROSS(C,MA(C,10))+CROSS(C,MA(C,20))+CROSS(C,MA(C,60))+CROSS(C,MA(C,120))+CROSS(C,MA(C,250))>=4;
    上述式子中要完全按照你的意思,应该是=4的,现在则是至少任意4条(也可能是5条或者6条)

    Q3:5日均线上穿250日均线公式

    以下是您要的公式:
    MA1:=MA(C,5);
    MA2:=MA(C,250);
    IF(CROSS(MA1,MA2),20,0);
    祝您投资愉快、股市好运。

    Q4:求高手帮忙写个通达信选股公式: 120日均线上穿250日均线,且250日均线向上。谢谢!

    M120:=MA(C,120);M250:=MA(C,250);
    KK:=CROSS(M120,M250) AND M250>=REF(M250,1);
    XG:COUNT(KK,4);

    你好!600371万向德农,二线交叉时间是在3月28日,你在3月31日是选取不出来的,用我的公式就能选出来。希望能够帮助您,顺祝马年投资顺利!

    Q5:通达信超赞的主图指标公式是怎样的

    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;
    DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLORLIBLUE;
    DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,EXTERNSTR(0,12)),COLORLIGREEN;{老王}
    DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,FGBLOCK),COLORLIMAGENTA;
    DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,EXTERNSTR(0,1)),COLORYELLOW;{融胜}
    主力成本线:EMA(COST(9),250),COLORBROWN,DOTLINE;
    {牛马线买点公式升级版}
    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
    马线:MA(牛线,8),COLORWHITE;
    DRAWICON( FILTER(CROSS(牛线,马线),20),马线-0.002 ,1);
    DRAWTEXT(CROSS(牛线,马线),LOW*0.984,'买'),COLORRED,LINETHICK2;
    止损价:H*0.95,LINETHICK0.5,COLORRED;
    庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
    16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
    13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
    10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
    7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
    4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
    IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK4;
    IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;
    DRAWBAND(牛线,RGB(255,87,22),马线,RGB(0,30,255));
    MA60:MA(CLOSE,60),COLORGRAY;
    N1:=10;
    TK:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
    量能平台:IF(CURRBARSCOUNT<=N1+3,CONST(IF(TK=0,C,REF(C,TK))),DRAWNULL),COLORGRAY,LINETHICK1;
    NOTEXT_新量能点:IF(CURRBARSCOUNT=TK+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;
    DRAWTEXT(ISLASTBAR,量能平台,'量能平台'),COLORGRAY;
    {稳涨}
    红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
    轨道:MA(MA(CLOSE,3),3),COLOR32CD32,LINETHICK2;
    NOTEXT_升:IF(红轨道>=轨道,轨道,DRAWNULL),COLORMAGENTA,LINETHICK2;
    机构:(L2_VOL(0,0) - L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORRED;
    大户:(L2_VOL(1,0) - L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;
    主力:机构+大户,NODRAW,COLORYELLOW;
    STICKLINE(主力>0,O,C,1.5,1),COLORRED;
    STICKLINE(主力<0,O,C,1.5,1),COLORCYAN;
    STICKLINE(大户>0,O,C,1,0),COLORMAGENTA;
    STICKLINE(大户<0,O,C,1,0),COLORGREEN;
    STICKLINE(机构>0 AND 大户>0,O,(O+C)/2,1,0),COLORRED;
    STICKLINE(机构<0 AND 大户>0,C,(O+C)/2,1,0),COLORCYAN;
    STICKLINE(机构>0 AND 大户<0,O,(O+C)/2,1,0)COLORMAGENTA;
    STICKLINE(机构<0 AND 大户<0,C,O,1,0)COLORLICYAN;
    累计:=SUM(主力,30),COLORMAGENTA;
    均值:=EMA(累计,MIN(10,30)),COLORWHITE;
    {红}
    STICKLINE(CROSS(累计,均值),H,L,0,0),COLORRED,LINETHICK1;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,1.4,0),COLOR000088;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,1,0),COLOR0000BB;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0.6,0),COLOR0000DD;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0,0),COLOR0000FF;
    {蓝}
    STICKLINE(CROSS(均值,累计),H,L,0,0),COLORFF8800,LINETHICK1;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,1.4,0),COLORBB4400;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,1,0),COLORCC5500;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0.6,0),COLORDD6600;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0,0),COLOREE7700;
    {高低点定位}
    G0:=(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))+XMA(XMA(H,30),30);
    D0:=XMA(XMA(L,30),30)-(XMA(XMA(H,30),30)-XMA(XMA(L,30),30));
    G01:=(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))*0.5+XMA(XMA(H,30),30);
    D01:=XMA(XMA(L,30),30)-(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))*0.5;
    GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);
    DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;
    STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORMAGENTA;
    STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORLIBLUE;
    STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORRED;
    DRAWTEXT(ISLASTBAR,G0,'卖'),COLORGREEN;
    DRAWTEXT(ISLASTBAR,D0,'买'),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR,GO0,'顶'),COLORLIBLUE;
    DRAWTEXT(ISLASTBAR,DO0,'底'),COLORRED;
    由于公式字符过多,这里限制数量无法发出,

    Q6:成本分布指标 通达信指标公式源码

    内容来自用户:孙玲玲

    成本分布指标(主图源码说明)
    成本分布指标对于分析支撑和阻力位置很有用,很直观.但使用系统自带的指标时,要用鼠标点击一下才能切换到那个界面,很麻烦.论坛上也曾经有在主图中迭加的成本分布指标,用以简化操作.但可惜不准确,与系统自带的指标差异较大,缺乏使用价值,而且使主图界面复杂,影响对K线的观察和分析.本贴发布的这个指标原理正确,精度够用,与系统自带的指标基本一致.而且只在当天的K线区显示一个兰色的矩形条,矩形条中有一些横线,用以反应当天的成本分布状态.这样便既能方便地看到当天的正确的成本分布情况,又基本上不对主图界面构成影响.完全没必要去看系统自带的指标了.指标的原理为:兰色的矩形条由底到顶对应于从0.1%到99.9%的筹码分布区间,每二条横线间的区间均为2%的筹码,横线越密集说明筹码越集中,最密集的地方就是筹码峰所在地.有一条横线是兰色的,对应50%筹码处.本指标只反应当天的成本分布情况,不能看历史的成本分布情况.指标的精度处决于对矩形的等分数,越多越精确,但代码行数就越多,电脑运行就越慢.综合权衡精度和速度后,本指标设置为50等分.本指标成本分布区间为0.1%到99.9%,不是0到100%,这是因为设置为0到100%后那个兰色矩形就不显示了,其原因应该是系统的成本分布函数取值范围限定不能为

    Q7:资金监控庄家和私募和主力的优化主图指标通达信指标公式源码

    内容来自用户:孙玲玲

    资金监控庄家和私募和主力的优化主图指标
    ZT:=C>REF(C,1)*1.090 AND C<REF(C,1)*1.105;DT:=CREF(C,1)*0.898;STICKLINE(ZT,C,O,4,0),COLORRED;STICKLINE(DT,C,O,4,0),COLORBLUE;DRAWTEXT(ZT,L-0.1,'涨停'),COLORRED;DRAWTEXT(DT,H+0.3,'跌停'),COLORBLUE;STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;DRAWTEXT_FIX(C>0,0.17,0.0,0,DYBLOCK),COLORYELLOW,LINETHICK2;DRAWTEXT_FIX(C>0,0.25,0.0,0,HYBLOCK),COLORRED,LINETHICK2;DRAWTEXT_FIX(C>0,0.36,0.0,0,GNBLOCK)COLORWHITE;DRAWTEXT_FIX(1,0,0.0,0,'【莸利比例】'),COLORWHITE;DRAWNUMBER_FIX(1,0.10,0.0,0,CONST(WINNER(C )*100)),COLORYELLOW;DRAWTEXT_FIX(1,0.0,0.06,0,EXTERNSTR(0,2));上涨家数:INDEXADV,COLOR0080FF,NODRAW;下跌家数:INDEXDEC,COLORGREEN,NODRAW;DRAWKLINE(H,O,L,C);MA5:=MA(CLOSE,5),COLORWHITE;MA10:=MA(CLOSE,10),COLORYELLOW;MA30:=MA(CLOSE,30),COLORMAGENTA;MA60:=MA(CLOSE,60),COLORGREEN;MA120:=MA(CLOSE,120),COLORLIMAGENTA;MA240:=MA(CLOSE,240),COLORBLUE,NODRAW; VOL5:=MA(VOL,5),COLORWHITE;VOL10:=MA(VOL,10),COLORYELLOW;VOL40:=MA(VOL,40),COLORFF00FF ;量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)MA30 AND (MA30=MA10 OR MA30>MA10));BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);

    本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-6-37700-0.html