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

改成文华 [文华财经]

  • 咨询内容:  XA_1:=IF(DATE<136070199,1,DRAWNULL);
    XA_2:=EMA(CLOSE,250)*XA_1;
    XA_3:=IF(CLOSE>XA_2,(CLOSE-XA_2)/XA_2*100,(CLOSE-XA_2)/CLOSE*100)*XA_1;
    XA_4:=HHV(XA_3,18)*XA_1;
    XA_5:=LLV(XA_3,18)*XA_1;
    XA_6:=MEMA((XA_3-XA_5)/(XA_4-XA_5)*100,3)*XA_1;
    XA_7:=MEMA(XA_6,3);
    XA_8:=3*XA_6-2*XA_7;
    波动:(XA_8-50)/50*XA_1,COLORYELLOW;
    1*XA_1,COLORGREEN;{WWW.88GS.COM}
    0-1*XA_1,COLORMAGENTA;
    异动线:IF(CROSS(XA_6,XA_7),0.1,IF(CROSS(XA_7,XA_6),0-0.1,0))*XA_1,COLORWHITE;
    危险:CROSS(XA_7,XA_6)*XA_1 AND XA_7>55,NODRAW,COLORGREEN;
    STICKLINE(危险,1,0.7,0.8,0),COLORGREEN;{WWW.88GS.COM}
    异动:CROSS(XA_6,XA_7)*XA_1 AND XA_7<34,NODRAW,COLORRED;
    STICKLINE(异动,0-1,0-0.7,0.8,0),COLORRED; 

     

     来源:程序化99

  • 文华技术人员:  不同软件函数机制不同,改写效果有差异,请理解:
     XA_1:=IF(DATE<300199,1,NULL); XA_2:=EMA(CLOSE,250)*XA_1; XA_3:=IF(CLOSE>XA_2,(CLOSE-XA_2)/XA_2*100,(CLOSE-XA_2)/CLOSE*100)*XA_1; XA_4:=HHV(XA_3,18)*XA_1; XA_5:=LLV(XA_3,18)*XA_1; XA_6:=EMA((XA_3-XA_5)/(XA_4-XA_5)*100,3)*XA_1; XA_7:=EMA(XA_6,3); XA_8:=3*XA_6-2*XA_7; 波动:(XA_8-50)/50*XA_1,COLORYELLOW; 1*XA_1,COLORGREEN; {WWW.88GS.COM} 0-1*XA_1,COLORMAGENTA; 异动线:IF(CROSS(XA_6,XA_7),0.1,IF(CROSS(XA_7,XA_6),0-0.1,0))*XA_1,COLORWHITE; 危险:CROSS(XA_7,XA_6)*XA_1 AND XA_7>55,NODRAW,COLORGREEN; STICKLINE(危险,1,0.7,0.8,0),COLORGREEN; {WWW.88GS.COM} 异动:CROSS(XA_6,XA_7)*XA_1 AND XA_7<34,NODRAW,COLORRED; STICKLINE(异动,0-1,0-0.7,0.8,0),COLORRED;

 

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

可联系技术人员 QQ: 511411198  点击这里给我发消息或微信:cxhjy888 进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容