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

能改成不化线右边显示数值吗 [文华财经]

  • 咨询内容:  N:=120;M:=3;PC:=(C+REF(C,1)+0)/3;高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809; DRAWSL(ISLASTBAR,高,0,1,1,COLORWHITE),DOT;DRAWTEXT(ISLASTBAR,高,'顶点'),COLORWHITE,DOT;
    DRAWSL(ISLASTBAR,H19,0,1,1,COLORYELLOW),DOT;DRAWTEXT(ISLASTBAR,H19,'%19.8'),COLORYELLOW,DOT;
    DRAWSL(ISLASTBAR,H38,0,1,1,COLORMAGENTA),DOT;DRAWTEXT(ISLASTBAR,H38,Ɔ.382'),COLORMAGENTA,DOT;
    DRAWSL(ISLASTBAR,H中,0,1,1,COLORRED),DOT;DRAWTEXT(ISLASTBAR,H中,Ɔ.5'),COLORRED,DOT;
    DRAWSL(ISLASTBAR,H61,0,1,1,COLORMAGENTA),DOT;DRAWTEXT(ISLASTBAR,H61,Ɔ.618'),COLORMAGENTA,DOT;
    DRAWSL(ISLASTBAR,H80,0,1,1,COLORYELLOW),DOT;DRAWTEXT(ISLASTBAR,H80,Ɔ.809'),COLORYELLOW,DOT;
    DRAWSL(ISLASTBAR,低,0,1,1,COLORWHITE),DOT;DRAWTEXT(ISLASTBAR,低,'低点'),COLORWHITE,DOT;

     

  • 文华技术人员:

     

      N:=120;
    M:=3;
    PC:=(C+REF(C,1)+0)/3;
    高:=REF(HHV(H,N),M);
    低:=REF(LLV(L,N),M);
    H19:=高-(高-低)*0.191;
    H38:=高-(高-低)*0.382;
    H中:=高-(高-低)*0.5;
    H61:=高-(高-低)*0.618;
    H80:=高-(高-低)*0.809;
    //DRAWSL(ISLASTBAR,高,0,1,1,COLORWHITE),DOT;
    DRAWTEXT(ISLASTBAR,高,'顶点'),COLORWHITE,DOT;


    //DRAWSL(ISLASTBAR,H19,0,1,1,COLORYELLOW),DOT;
    DRAWTEXT(ISLASTBAR,H19,'%19.8'),COLORYELLOW,DOT;


    //DRAWSL(ISLASTBAR,H38,0,1,1,COLORMAGENTA),DOT;
    DRAWTEXT(ISLASTBAR,H38,Ɔ.382'),COLORMAGENTA,DOT;


    //DRAWSL(ISLASTBAR,H中,0,1,1,COLORRED),DOT;
    DRAWTEXT(ISLASTBAR,H中,Ɔ.5'),COLORRED,DOT;


    //DRAWSL(ISLASTBAR,H61,0,1,1,COLORMAGENTA),DOT;
    DRAWTEXT(ISLASTBAR,H61,Ɔ.618'),COLORMAGENTA,DOT;


    //DRAWSL(ISLASTBAR,H80,0,1,1,COLORYELLOW),DOT;
    DRAWTEXT(ISLASTBAR,H80,Ɔ.809'),COLORYELLOW,DOT;


    //DRAWSL(ISLASTBAR,低,0,1,1,COLORWHITE),DOT;
    DRAWTEXT(ISLASTBAR,低,'低点'),COLORWHITE,DOT;

     

  • 文华客服:  能不能改成右价格点啊!就是价格多少值

     

  • 网友回复:  

      N:=120;
    M:=3;
    PC:=(C+REF(C,1)+0)/3;
    高:=REF(HHV(H,N),M);
    低:=REF(LLV(L,N),M);
    H19:=高-(高-低)*0.191;
    H38:=高-(高-低)*0.382;
    H中:=高-(高-低)*0.5;
    H61:=高-(高-低)*0.618;
    H80:=高-(高-低)*0.809;
    //DRAWSL(ISLASTBAR,高,0,1,1,COLORWHITE),DOT;
    //DRAWTEXT(ISLASTBAR,高,'顶点'),COLORWHITE,DOT;
    DRAWNUMBER(ISLASTBAR,高,高,2,COLORWHITE);
    //DRAWSL(ISLASTBAR,H19,0,1,1,COLORYELLOW),DOT;
    //DRAWTEXT(ISLASTBAR,H19,'%19.8'),COLORYELLOW,DOT;
    DRAWNUMBER(ISLASTBAR,H19,H19,2,COLORYELLOW);

    //DRAWSL(ISLASTBAR,H38,0,1,1,COLORMAGENTA),DOT;
    //DRAWTEXT(ISLASTBAR,H38,?.382'),COLORMAGENTA,DOT;
    DRAWNUMBER(ISLASTBAR,H38,H38,2,COLORMAGENTA);

    //DRAWSL(ISLASTBAR,H中,0,1,1,COLORRED),DOT;
    //DRAWTEXT(ISLASTBAR,H中,?.5'),COLORRED,DOT;
    DRAWNUMBER(ISLASTBAR,H中,H中,2,COLORRED);
    //DRAWSL(ISLASTBAR,H61,0,1,1,COLORMAGENTA),DOT;
    //DRAWTEXT(ISLASTBAR,H61,?.618'),COLORMAGENTA,DOT;
    DRAWNUMBER(ISLASTBAR,H61,H61,2,COLORMAGENTA);

    //DRAWSL(ISLASTBAR,H80,0,1,1,COLORYELLOW),DOT;
    //DRAWTEXT(ISLASTBAR,H80,?.809'),COLORYELLOW,DOT;
    DRAWNUMBER(ISLASTBAR,H80,H80,2,COLORYELLOW);

    //DRAWSL(ISLASTBAR,低,0,1,1,COLORWHITE),DOT;
    //DRAWTEXT(ISLASTBAR,低,'低点'),COLORWHITE,DOT;
    DRAWNUMBER(ISLASTBAR,低,低,2,COLORWHITE);

     

  • 网友回复:  高点值看不到

 

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

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


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

相关文章

    没有相关内容