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

请求老师改模型 [文华财经]

  • 咨询内容:

    DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW;
    DEA :=EMA(DIFF,9),COLORGREEN;
    MACD:=2*(DIFF-DEA), COLORSTICK;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
    C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
    DRAWTEXT(B1,L,'▲');//MACD底背离
    DRAWTEXT(D1,H,'▼');//MACD顶背离
    DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW;
    DEA :=EMA(DIFF,9),COLORGREEN;
    MACD:=2*(DIFF-DEA), COLORSTICK;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
    C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
    B1,BPK;
    D1,SPK;
    AUTOFILTER;

     

     

    麻烦老师把它改成顶背离开空,底背离开多的单向模型不要反手,开仓后自己手动平仓,谢谢

     

  • 文华技术人员:

    开多开空后都是手动平仓的话,那么您的不是完整模型,没办法运行的

 

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

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容