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

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

  • 咨询内容:  N(1,100,12);M(1,100,26); DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);DEA:=EMA(DIFF,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头:STICKLINE(DIFF>DEA,C,O,3,-1),COLORRED;STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE;空头:STICKLINE(DIFF<=DEA,C,O,3,0),COLORWHITE;STICKLINE(DIFF<=DEA,H,L,0,0),COLORWHITE;DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'',COLORYELLOW;                           DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'',COLORGREEN;DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA1:=EMA(DIFF1,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头1:STICKLINE(DIFF1>DEA1,C,O,3,0),COLORRED;STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;空头1:STICKLINE(DIFF1<=DEA1,C,O,3,0),COLORYELLOW;STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORYELLOW;DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'',COLORWHITE;DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'',COLORGREEN;

     

     来源:程序化99

  • 文华技术人员:

     参考:

     

    N:12;
    M:=26;
    DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);
    DEA:=EMA(DIFF,9);
    MA(C,8),COLORWHITE;
    MA(C,21),COLORYELLOW;
    STICKLINE1(DIFF>DEA,C,O,3,-1),COLORRED;
    STICKLINE1(DIFF>DEA,H,L,0,0),COLORWHITE;
    STICKLINE1(DIFF<=DEA,C,O,3,0),COLORWHITE;
    STICKLINE1(DIFF<=DEA,H,L,0,0),COLORWHITE;
    DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'',COLORYELLOW;                          
    DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'',COLORGREEN;
    DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA1:=EMA(DIFF1,9);
    MA(C,8),COLORWHITE;
    MA(C,21),COLORYELLOW;
    STICKLINE1(DIFF1>DEA1,C,O,3,0),COLORRED;
    STICKLINE1(DIFF>DEA1,H,L,0,0),COLORRED;
    STICKLINE1(DIFF1<=DEA1,C,O,3,0),COLORYELLOW;
    STICKLINE1(DIFF1<=DEA1,H,L,0,0),COLORYELLOW;
    DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'',COLORWHITE;
    DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'',COLORGREEN;

 

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

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


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

相关文章

    没有相关内容