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

改文华,谢谢20221515 [文华财经]

  • 咨询内容:  V1:=ZIG(3,12);

    V2:IF(REF(V1,2)>REF(V1,1) AND V1>REF(V1,1),50,0),colorred,LINETHICK2;

    V3:IF(REF(V1,2)<REF(V1,1) AND V1<REF(V1,1),50,0),colorgreen,LINETHICK2;

    VAR1:=ZIG(3,12)<REF(ZIG(3,12),1) AND REF(ZIG(3,12),1)>REF(ZIG(3,12),2);

    VAR2:=ZIG(3,12)>REF(ZIG(3,12),1) AND REF(ZIG(3,12),1)<REF(ZIG(3,12),2);

    DRAWTEXT(VAR1,50,'出',coloryellow;

    DRAWTEXT(VAR2,50,'入',coloryellow;

    VAR3:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

    买点:= VAR3,colorred;

    DRAWTEXT(买点>0,45,'吸点',colormagenta;

    STICKLINE(买点,0,50,2,0),colormagenta,LINETHICK1;

     

     来源:程序化99

  • 文华技术人员:

    修改参考:

     

    V1:=ZIGZAG(C,12,1);
    V2:IF(REF(V1,2)>REF(V1,1) AND V1>REF(V1,1),50,0),COLORRED,LINETHICK2;

    V3:IF(REF(V1,2)<REF(V1,1) AND V1<REF(V1,1),50,0),COLORGREEN,LINETHICK2;

    VAR1:=ZIGZAG(C,12,1)<REF(ZIGZAG(C,12,1),1) AND REF(ZIGZAG(C,12,1),1)>REF(ZIGZAG(C,12,1),2);

    VAR2:=ZIGZAG(C,12,1)>REF(ZIGZAG(C,12,1),1) AND REF(ZIGZAG(C,12,1),1)<REF(ZIGZAG(C,12,1),2);

    DRAWTEXT(VAR1,50,'出',COLORYELLOW;

    DRAWTEXT(VAR2,50,'入',COLORYELLOW;
    VAR3:=IF(TROUGHBARS(C,16,1,1)=0 AND HIGH>LOW+0.04,4,0);

    买点:= VAR3,COLORRED;

    DRAWTEXT(买点>0,45,'吸点',COLORMAGENTA;

    STICKLINE(买点,0,50,2,0),COLORMAGENTA,LINETHICK1;

 

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

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

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

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


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

相关文章

    没有相关内容