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

老师,macd,和kdj共振 [文华财经]

  • 咨询内容:  夏福老师好,帮忙修改这个指标,网上找到的文华公式,修改后是不是需要在参数页面上添加参数,谢谢夏福老师,谢谢
    MA5:=MA(CLOSE,5);RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA: EMA(DIFF,M);CROSS(DIFF,DEA)&&MA5>REF(MA5,2),BK;CROSS(K,D),BP;CROSS(DEA,DIFF)&&MA5<REF(MA5,2),SK;CROSS(D,K),SP;AUTOFILTER;

     

  • 文华技术人员:

    参考:

     

    N:=9;
    M1:=3;
    M2:=3;
    SHORT:=12;
    LONG:=26;
    M:=9;
    MA5:=MA(CLOSE,5);
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:=SMA(RSV,M1,1);
    D:=SMA(K,M2,1);
    DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
    DEA: EMA(DIFF,M);
    CROSS(DIFF,DEA)&&MA5>REF(MA5,2),BK;
    CROSS(K,D),BP;
    CROSS(DEA,DIFF)&&MA5<REF(MA5,2),SK;
    CROSS(D,K),SP;
    AUTOFILTER;

     

  • 文华客服:  夏福老师,指标效果好好,如果把交易指令的图标改为图标显示的更完美了,谢谢夏福老师

     

  • 网友回复:  N:=9;
    M1:=3;
    M2:=3;
    SHORT:=12;
    LONG:=26;
    M:=9;
    MA5:=MA(CLOSE,5);
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    K:=SMA(RSV,M1,1);
    D:=SMA(K,M2,1);
    DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
    DEA: EMA(DIFF,M);
    CROSS(DIFF,DEA)&&MA5>REF(MA5,2),ICON(0,'ICO4');
    CROSS(K,D),ICON(0,'ICO9');
    CROSS(DEA,DIFF)&&MA5<REF(MA5,2),ICON(1,'ICO5');
    CROSS(D,K),ICON(1,'ICO8');
     

     

  • 网友回复:  夏福老师,改动后指标失真,怎么处理,谢谢老师

    此主题相关图片如下:qq截图20160717172539.png

 

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

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


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

相关文章

    没有相关内容