最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信段轨道主图 源码 有未来XMA 慎入!

    正文概述    2024-04-14 15:05:31  

    刚发的{PP超大主力吃}副图指标,有童鞋要主图,现在分享,但要先说两句。
    本主图并不成熟,是合成的,含未来函数XMA。轨道源码取自胜龙软件,立体K线是千钧老师的,
    怀念千钧老师。
    变色均线组来自理想论坛哪位童鞋的忘了,反正叫就这样做多,仍然保持原味。趋势向上出色带
    及均线组同时多头向上出信号是我加进去的。
    我也很抵制未来函数,不喜欢发含有真正未来的源码,但专有个别不懂的股友,成天就知道拿个未来函数
    测试软件,测试一下,冷冷的撂上一句:有未来函数,遗憾.
    把capital和winner都算做未来,真不知道他们是真懂还是假懂。
    OK 不多扯了,翠花热一下酸菜,上源码:

    {波段轨道}{主图}


    AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
    通道1:=AA*102/100;
    通道2:=AA*(200-102)/100;
    CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
    DD:=DMA(CLOSE,CC);
    通道3:=(1+7/100)*DD;
    通道4:=(1-7/100)*DD;
    股价:=(H+L+C)/3;
    股价运动:=股价,LINETHICK2,COLORBLUE;
    趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,COLORFFFFFF;
    风险区1:趋势*1.1,COLOR0000FF;
    风险区2:趋势*1.125,COLOR0000FF;
    风险区3:趋势*1.15,COLOR00FFFF,POINTDOT;
    良机区1:趋势*0.9,COLORLIBLUE;
    良机区2:趋势*0.875,COLORLIBLUE;
    良机区3:趋势*0.85,COLORFFFF00,POINTDOT;
    上一:IF(风险区1>REF(风险区1,1), 风险区1,DRAWNULL),COLORYELLOW;
    上二:IF(风险区2>REF(风险区2,1), 风险区2,DRAWNULL),COLORYELLOW;
    上三:IF(风险区3>REF(风险区3,1), 风险区3,DRAWNULL),COLORYELLOW;
    下一:IF(良机区1>REF(良机区1,1), 良机区1,DRAWNULL),COLORYELLOW;
    下二:IF(良机区2>REF(良机区2,1), 良机区2,DRAWNULL),COLORYELLOW;
    下三:IF(良机区3>REF(良机区3,1), 良机区3,DRAWNULL),COLORYELLOW;
    DRAWBAND(上三,RGB(0,0,255),上二,DRAWNULL);
    DRAWBAND(上二,RGB(255,255,0),上一,DRAWNULL);
    DRAWBAND(下一,RGB(80,00,00),下二,DRAWNULL);
    DRAWBAND(下二,RGB(255,255,255),下三,DRAWNULL);
    DRAWBAND(上一,RGB(128,128,64), 下一,DRAWNULL);
    {IF(趋势>REF(趋势,1), 趋势,DRAWNULL),COLORYELLOW,LINETHICK2}
    T:=CLOSE/REF(CLOSE,1)*1000-1000;
    QS2:=XMA(XMA(XMA(T,2),2),2);
    QS4:=XMA(XMA(XMA(T,4),4),4);
    QS6:=XMA(XMA(XMA(T,6),6),6);
    {DRAWICON(CROSS(QS2,QS4),L,1);
    DRAWICON(QS2REF(QS4,1),H,2);}
    风险:=((C-趋势)/趋势*100>10 AND C>通道3) OR ((H-趋势)/趋势*100>10 AND H>通道3 ) OR ((O-趋势)/趋势*100>10 AND O>通道3);
    DRAWICON(风险 AND FILTER(风险,3),H+0.01,6);
    良机:=((C-趋势)/趋势*100<-10 AND C<通道4) OR ((O-趋势)/趋势*100<-10 AND O<通道4 ) OR((L-趋势)/趋势*100<-10 AND L<通道4);
    QW1:=趋势>REF(趋势,1);
    DRAWICON(良机 AND QW1 AND FILTER(良机,3),L*0.97,5);
    QW2:=O<良机区3;
    DRAWICON(QW2 AND FILTER(QW2,3),L*0.97,9);
    E1:EXPMA(C,7),COLORGREEN;
    E2:EXPMA(C,9),COLORGREEN;
    E3:EXPMA(C,12),COLORGREEN;
    E4:EXPMA(C,14),COLORGREEN;
    E5:EXPMA(C,17),COLORGREEN;
    E6:=EXPMA(C,50),COLORFF8800,LINETHICK2;
    就:IF(E1>REF(E1,1),E1,DRAWNULL), COLOR0080FF;
    这:IF(E2>REF(E2,1),E2,DRAWNULL), COLOR0080FF;
    样:IF(E3>REF(E3,1),E3,DRAWNULL), COLOR0080FF;
    做:IF(E4>REF(E4,1),E4,DRAWNULL), COLOR0080FF;
    多:IF(E5>REF(E5,1),E5,DRAWNULL), COLOR0080FF;
    DRAWKLINE(H,O,L,C);
    STICKLINE(C>=O,H,L,0,1),COLOR0000FF;
    STICKLINE(C>=O,C,O,2.8,0),COLOR0000BB;
    STICKLINE(C>=O,C,O,2,0),COLOR0000DD;
    STICKLINE(C>=O,C,O,1.2,0),COLOR0000EE;
    STICKLINE(C>=O,C,O,0.4,0),COLOR0000FF;
    STICKLINE(C STICKLINE(C STICKLINE(C STICKLINE(C STICKLINE(C STICKLINE(C A1:=(E1>REF(E1,1) AND E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1)) AND (REF(E1,1)<=REF(E1,2) OR REF(E2,1)<=REF(E2,2) OR REF(E3,1)<=REF(E3,2) OR REF(E4,1)<=REF(E4,2) OR REF(E5,1)<=REF(E5,2));
    A2:=风险区1>REF(风险区1,1) AND 风险区2>REF(风险区2,1) AND 风险区3>REF(风险区3,1) AND 良机区1>REF(良机区1,1) AND 良机区2>REF(良机区2,1) AND 良机区3>REF(良机区3,1);
    DRAWICON(A1 AND A2,L*0.99,25);
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信段轨道主图 源码 有未来XMA 慎入! 加入收藏