您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

老师这个是动量指标吗 如果不是可以给我弄一个动量吗 [文华财经]

  • 咨询内容:  
    VAR19:=ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1) AND REF(ZIGZAG(C,5,1),1)<=REF(ZIGZAG(C,5,1),2);
    VAR1A:=ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1) AND REF(ZIGZAG(C,5,1),1)>=REF(ZIGZAG(C,5,1),2);
    //{青色变盘K线}
    STICKLINE(VAR1A,C,O,8,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,7,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,6,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,5,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,4,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,3,0),COLORYELLOW;
    STICKLINE(VAR1A,C,O,0,0),COLORYELLOW;

    //{粉红变盘K线}
    STICKLINE(VAR19,C,O,8,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,7,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,6,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,5,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,4,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,3,0),COLORYELLOW;
    STICKLINE(VAR19,C,O,0,0),COLORYELLOW;
    STICKLINE(VAR19,O,C,0.1,0),COLORYELLOW;
    STICKLINE(VAR19,O,C,0.1,0),COLORYELLOW;
    DRAWICON(VAR19,REF(CLOSE,1),5);
    DRAWICON(VAR1A,H,6);
    DRAWTEXT((ZIGZAG(C,5,1)>REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)<=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)<=REF(ZIGZAG(C,5,1),3)),LOW,'多',COLORRED,LINETHICK1;
    DRAWTEXT((ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)>=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3)),HIGH,'空',COLORGREEN,LINETHICK1;



     
     DH:=H<REF(H,1)&&L<REF(L,1)&&REF(H,1)>REF(H,2)&&REF(L,1)>REF(L,2);//顶分型
    DH1:=H<HV(H,2)&&L<LV(L,2)&&HV(H,2)>REF(H,3)&&LV(L,2)>REF(L,3)&&REF(NOT(DH),1);//包含关系处理的顶分型
    N1:=BARSLAST(DH||DH1)+1;
    //DRAWLINE3(N1=1,REF(H,1),1,REFX(N1,1)=1,REF(H,N1),0,0),DASH;
    DL:=H>REF(H,1)&&L>REF(L,1)&&REF(H,1)<REF(H,2)&&REF(L,1)<REF(L,2);//底分型
    DL1:=H>HV(H,2)&&L>LV(L,2)&&HV(H,2)<REF(H,3)&&LV(L,2)<REF(L,3)&&REF(NOT(DL),1);//包含关系处理的底分型
    N2:=BARSLAST(DL||DL1)+1;
    //DRAWLINE3(N2=1,REF(L,1),1,REFX(N2,1)=1,REF(L,N2),0,0),DASH,COLORLIGHTGREEN;
    DRAWICON(REFX(N1=1,1),H,'CO9';
    DRAWICON(REFX(N2=1,1),L,'CO8',VALIGN0;    

     

     来源:程序化99

  • 文华技术人员:

     1楼指标不是动量指标

     

    您参考一下下面帖子,看是否符合需求:http://help.wenhua.com.cn/dispbbs.asp?BoardID=14&ID=674521

     

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容