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

辛苦老师改文华 [文华财经]

  • 咨询内容:  N1:=3;

    M1:=MA(C,5);

    M2:MA(C,20),COLORGREEN;

    趋势线:IF(M1>M2,M2,M1),COLOR0000FF;

    VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100;

    VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

    VAR6:=VAR3-VAR1;

    Z:=MA(VAR6,N1);


    STICKLINE(Z>=0 {AND ZZ=2},O,C,2,0),COLORRED;

    STICKLINE(Z>=0 {AND ZZ=2},H,MAX(O,C),0,1),COLORRED;

    STICKLINE(Z>=0 {AND ZZ=2},MIN(O,C),L,0,1),COLORRED;

    STICKLINE(Z<0 {AND ZZ=1},O,C,2,1),COLORCYAN;

    STICKLINE(Z<0 {AND ZZ=1},H,MAX(O,C),0,1),COLORCYAN;

    STICKLINE(Z<0 {AND ZZ=1},MIN(O,C),L,0,1),COLORCYAN;

    STICKLINE(Z>=0 AND M2>C,O,C,2,0),COLORBLUE;

    STICKLINE(Z>=0 AND M2>C,H,MAX(O,C),0,1),COLORBLUE;

    STICKLINE(Z>=0 AND M2>C,MIN(O,C),L,0,1),COLORBLUE;

    STICKLINE(Z<0 AND M2<C,O,C,2,1),COLORYELLOW;

    STICKLINE(Z<0 AND M2<C,H,MAX(O,C),0,1),COLORYELLOW;

    STICKLINE(Z<0 AND M2<C,MIN(O,C),L,0,1),COLORYELLOW;

    WW:=(MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16)+MA(CLOSE,32))/4;

    DRAWICON(CROSS(CLOSE,WW),LOW-0.002,1);

    DRAWICON(CROSS(WW,CLOSE),HIGH+0.006,2);


     来源:程序化99

  • 文华技术人员:  参考:  N1:=3; M1:=MA(C,5);
    M2:MA(C,20),COLORGREEN;
    趋势线:IF(M1>M2,M2,M1),COLOR0000FF;
    VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100;
    VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
    VAR6:=VAR3-VAR1;
    Z:=MA(VAR6,N1);


    STICKLINE1(Z>=0 {AND ZZ=2},O,C,2,0),COLORRED;
    STICKLINE1(Z>=0 {AND ZZ=2},H,MAX(O,C),0,1),COLORRED;
    STICKLINE1(Z>=0 {AND ZZ=2},MIN(O,C),L,0,1),COLORRED;
    STICKLINE1(Z<0 {AND ZZ=1},O,C,2,1),COLORCYAN;
    STICKLINE1(Z<0 {AND ZZ=1},H,MAX(O,C),0,1),COLORCYAN;
    STICKLINE1(Z<0 {AND ZZ=1},MIN(O,C),L,0,1),COLORCYAN;
    STICKLINE1(Z>=0 AND M2>C,O,C,2,0),COLORBLUE;
    STICKLINE1(Z>=0 AND M2>C,H,MAX(O,C),0,1),COLORBLUE;
    STICKLINE1(Z>=0 AND M2>C,MIN(O,C),L,0,1),COLORBLUE;
    STICKLINE1(Z<0 AND M2<C,O,C,2,1),COLORYELLOW;
    STICKLINE1(Z<0 AND M2<C,H,MAX(O,C),0,1),COLORYELLOW;
    STICKLINE1(Z<0 AND M2<C,MIN(O,C),L,0,1),COLORYELLOW;
    WW:=(MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16)+MA(CLOSE,32))/4;
    DRAWICON(CROSS(CLOSE,WW),LOW-0.002,1);
    DRAWICON(CROSS(WW,CLOSE),HIGH+0.006,2);

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


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

相关文章

    没有相关内容