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

帮忙改文华 [文华财经]

  • 咨询内容:  改文华指标

    SHORT:=6;LONG:=9;MID:=6;
    D1:=EMA(C,3)-EMA(C,8);
    D2:=EMA(O,3)-EMA(O,8);
    D3:=EMA(H,3)-EMA(H,8);
    D4:=EMA(L,3)-EMA(L,8);
    STICKLINE(D1>=D2,D1,D2,3,0),COLOR0055AA;
    STICKLINE(D1<=D2,D1,D2,3,0),COLOR006600;
    STICKLINE(D1>=D2,D1,D2,2,0),COLOR0077CC;
    STICKLINE(D1>=D2,D1,D2,1,0),COLOR0099DD;
    STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;
    STICKLINE(D1<=D2,D1,D2,2,0),COLOR009900;
    STICKLINE(D1<=D2,D1,D2,1,0),COLOR00BB00;
    STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;
    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORCYAN,LINETHICK2;
    DEA:EMA(DIF,MID),COLOR66CC00,LINETHICK3;
    TJ1:EMA(DEA,4),COLOR999933,LINETHICK3;
    TJ2:=EMA(DIF,17),COLORBLUE,LINETHICK3;
    MACD:(DIF-DEA)*2,COLORSTICK;
    IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORWHITE,LINETHICK2;
    IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORRED,LINETHICK3;
    IF(TJ1>REF(TJ1,1),TJ1,DRAWNULL),COLORMAGENTA,LINETHICK3;
    {IF(TJ2>REF(TJ2,1),TJ2,DRAWNULL),COLORWHITE,LINETHICK3;}
    0,COLORGRAY,LINETHICK1;

     

     来源:程序化99

  • 文华技术人员:  参考:
    SHORT:=6; LONG:=9; MID:=6;
    D1:=EMA(C,3)-EMA(C,8);
    D2:=EMA(O,3)-EMA(O,8);
    D3:=EMA(H,3)-EMA(H,8);
    D4:=EMA(L,3)-EMA(L,8);
    STICKLINE(D1>=D2,D1,D2,3,0),COLOR0055AA;
    STICKLINE(D1<=D2,D1,D2,3,0),COLOR006600;
    STICKLINE(D1>=D2,D1,D2,2,0),COLOR0077CC;
    STICKLINE(D1>=D2,D1,D2,1,0),COLOR0099DD;
    STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;
    STICKLINE(D1<=D2,D1,D2,2,0),COLOR009900;
    STICKLINE(D1<=D2,D1,D2,1,0),COLOR00BB00;
    STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;
    DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORCYAN,LINETHICK2;
    DEA:EMA(DIF,MID),COLOR66CC00,LINETHICK3;
    TJ1:EMA(DEA,4),COLOR999933,LINETHICK3;
    TJ2:=EMA(DIF,17),COLORBLUE,LINETHICK3;
    MACD:(DIF-DEA)*2,COLORSTICK;
    IF(DIF>REF(DIF,1),DIF,NULL),COLORWHITE,LINETHICK2;
    IF(DEA>REF(DEA,1),DEA,NULL),COLORRED,LINETHICK3;
    IF(TJ1>REF(TJ1,1),TJ1,NULL),COLORMAGENTA,LINETHICK3;
    0,COLORGRAY,LINETHICK1;

 

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

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

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

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


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

相关文章

    没有相关内容