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

老师国庆快乐麻烦转换文华 [文华财经]

  • 咨询内容:  K1:=EMA(C,3);K2:=EMA(C,5);K3:=EMA(C,8);K4:=EMA(C,10); K5:=EMA(C,12); K6:=EMA(C,15);K7:=EMA(C,30);K8:=EMA(C,35);K9:=EMA(C,40); K10:=EMA(C,45);K11:=EMA(C,50);K12:=EMA(C,60); IF(K1>REF(K1,3),K1,DRAWNULL),COLOR0000FF; IF(K1<REF(K1,3),K1,DRAWNULL),COLOR00FF00; IF(K2>REF(K2,3),K2,DRAWNULL),COLOR0000FF; IF(K2<REF(K2,3),K2,DRAWNULL),COLOR00FF00; IF(K3>REF(K3,3),K3,DRAWNULL),COLOR0000FF; IF(K3<REF(K3,3),K3,DRAWNULL),COLOR00FF00; IF(K4>REF(K4,3),K4,DRAWNULL),COLOR0000FF; IF(K4<REF(K4,3),K4,DRAWNULL),COLOR00FF00; IF(K5>REF(K5,3),K5,DRAWNULL),COLOR0000FF; IF(K5<REF(K5,3),K5,DRAWNULL),COLOR00FF00; IF(K6>REF(K6,3),K6,DRAWNULL),COLOR0000FF; IF(K6<REF(K6,3),K6,DRAWNULL),COLOR00FF00; IF(K7>REF(K7,3),K7,DRAWNULL),COLOR0000FF; IF(K7<REF(K7,3),K7,DRAWNULL),COLOR00FF00; IF(K8>REF(K8,3),K8,DRAWNULL),COLOR0000FF; IF(K8<REF(K8,3),K8,DRAWNULL),COLOR00FF00; IF(K9>REF(K9,3),K9,DRAWNULL),COLOR0000FF; IF(K9<REF(K9,3),K9,DRAWNULL),COLOR00FF00; IF(K10>REF(K10,3),K10,DRAWNULL),COLOR0000FF; IF(K10<REF(K10,3),K10,DRAWNULL),COLOR00FF00; IF(K11>REF(K11,3),K11,DRAWNULL),COLOR0000FF; IF(K11<REF(K11,3),K11,DRAWNULL),COLOR00FF00; IF(K12>REF(K12,3),K12,DRAWNULL),COLOR0000FF; IF(K12<REF(K12,3),K12,DRAWNULL),COLOR00FF00; 
    检查不通过  

     

     来源:程序化99

  • 文华技术人员:  K1:=EMA(C,3);
    K2:=EMA(C,5);
    K3:=EMA(C,8);
    K4:=EMA(C,10);
    K5:=EMA(C,12);
    K6:=EMA(C,15);
    K7:=EMA(C,30);
    K8:=EMA(C,35);
    K9:=EMA(C,40);
    K10:=EMA(C,45);
    K11:=EMA(C,50);
    K12:=EMA(C,60);
    IF(K1>REF(K1,3),K1,NULL),COLOR0000FF;
    IF(K1<REF(K1,3),K1,NULL),COLOR00FF00;
    IF(K2>REF(K2,3),K2,NULL),COLOR0000FF;
    IF(K2<REF(K2,3),K2,NULL),COLOR00FF00;
    IF(K3>REF(K3,3),K3,NULL),COLOR0000FF;
    IF(K3<REF(K3,3),K3,NULL),COLOR00FF00;
    IF(K4>REF(K4,3),K4,NULL),COLOR0000FF;
    IF(K4<REF(K4,3),K4,NULL),COLOR00FF00;
    IF(K5>REF(K5,3),K5,NULL),COLOR0000FF;
    IF(K5<REF(K5,3),K5,NULL),COLOR00FF00;
    IF(K6>REF(K6,3),K6,NULL),COLOR0000FF;
    IF(K6<REF(K6,3),K6,NULL),COLOR00FF00;
    IF(K7>REF(K7,3),K7,NULL),COLOR0000FF;
    IF(K7<REF(K7,3),K7,NULL),COLOR00FF00;
    IF(K8>REF(K8,3),K8,NULL),COLOR0000FF;
    IF(K8<REF(K8,3),K8,NULL),COLOR00FF00;
    IF(K9>REF(K9,3),K9,NULL),COLOR0000FF;
    IF(K9<REF(K9,3),K9,NULL),COLOR00FF00;
    IF(K10>REF(K10,3),K10,NULL),COLOR0000FF;
    IF(K10<REF(K10,3),K10,NULL),COLOR00FF00;
    IF(K11>REF(K11,3),K11,NULL),COLOR0000FF;
    IF(K11<REF(K11,3),K11,NULL),COLOR00FF00;
    IF(K12>REF(K12,3),K12,NULL),COLOR0000FF;
    IF(K12<REF(K12,3),K12,NULL),COLOR00FF00; 

     

     来源: WWW.CXH99.COM

  • 文华客服:   DRAWNULL替换为NULL就可以了
    参考
     K1:=EMA(C,3);K2:=EMA(C,5);K3:=EMA(C,8);K4:=EMA(C,10); K5:=EMA(C,12); K6:=EMA(C,15);K7:=EMA(C,30);K8:=EMA(C,35);K9:=EMA(C,40); K10:=EMA(C,45);K11:=EMA(C,50);K12:=EMA(C,60); IF(K1>REF(K1,3),K1,NULL),COLOR0000FF; IF(K1<REF(K1,3),K1,NULL),COLOR00FF00; IF(K2>REF(K2,3),K2,NULL),COLOR0000FF; IF(K2<REF(K2,3),K2,NULL),COLOR00FF00; IF(K3>REF(K3,3),K3,NULL),COLOR0000FF; IF(K3<REF(K3,3),K3,NULL),COLOR00FF00; IF(K4>REF(K4,3),K4,NULL),COLOR0000FF; IF(K4<REF(K4,3),K4,NULL),COLOR00FF00; IF(K5>REF(K5,3),K5,NULL),COLOR0000FF; IF(K5<REF(K5,3),K5,NULL),COLOR00FF00; IF(K6>REF(K6,3),K6,NULL),COLOR0000FF; IF(K6<REF(K6,3),K6,NULL),COLOR00FF00; IF(K7>REF(K7,3),K7,NULL),COLOR0000FF; IF(K7<REF(K7,3),K7,NULL),COLOR00FF00; IF(K8>REF(K8,3),K8,NULL),COLOR0000FF; IF(K8<REF(K8,3),K8,NULL),COLOR00FF00; IF(K9>REF(K9,3),K9,NULL),COLOR0000FF; IF(K9<REF(K9,3),K9,NULL),COLOR00FF00; IF(K10>REF(K10,3),K10,NULL),COLOR0000FF; IF(K10<REF(K10,3),K10,NULL),COLOR00FF00; IF(K11>REF(K11,3),K11,NULL),COLOR0000FF; IF(K11<REF(K11,3),K11,NULL),COLOR00FF00; IF(K12>REF(K12,3),K12,NULL),COLOR0000FF; IF(K12<REF(K12,3),K12,NULL),COLOR00FF00; 

 

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

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


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

相关文章

    没有相关内容