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

请老师改成文华公式 [文华财经]

  • 咨询内容:  DIFF :=( EMA(CLOSE,8) - EMA(CLOSE,21))*100; DEA :=EMA(DIFF,5);MACD :=3*(DIFF-DEA); 绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00; 红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED; STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE; STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW; DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; 抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")  &&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2; DRAWTEXT(ABS(抄底)>0,DEA*1.1,'抄底',COLORRED; DRAWICON(ABS(抄底)>0,抄底,5);

     

     来源:程序化99

  • 文华技术人员: 参考:
    DIFF :=( EMA(CLOSE,8) - EMA(CLOSE,21))*100;
    DEA :=EMA(DIFF,5);
    MACD :=3*(DIFF-DEA);
    STICKLINE1(DIFF<0,0,DIFF,2,0),COLOR00FF00;
    STICKLINE1(DIFF>=0,0,DIFF,2,0),COLORRED;
    STICKLINE1(DEA>=0,0,DEA,2,0),COLORBLUE;
    STICKLINE1(DEA<0,0,DEA,2,0),COLORYELLOW;
    DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
    DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
    强1:IF(DIFF>DEA,DIFF,NULL),COLORRED,LINETHICK2;
    强2:IF(DEA<DIFF,DEA,NULL),COLORMAGENTA,LINETHICK2;
    抄底:=ABS((CROSS(DIFF,DEA)  && DEA<=-0.07)*DIFF)*1.09,COLORMAGENTA,LINETHICK2;
    DRAWTEXT(ABS(抄底)>0,DEA*1.1,'抄底',COLORRED;
    DRAWICON(ABS(抄底)>0,抄底,5); 

 

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

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

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

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


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

相关文章

    没有相关内容