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

请帮改一改吧 [文华财经]

  • 咨询内容:  帮把D改为黄色顶字谢谢! N:=5;DIF : EMA(CLOSE,12) - EMA(CLOSE,26);//短周期与长周期的收盘价的指数平滑移动平均值做差。DEA  : EMA(DIF,9);//DIFF的M个周期指数平滑移动平均MACD:=2*(DIF-DEA),COLORSTICK;//DIFF减DEA的2倍画柱状线DIF底背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)>C AND REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)<DIF AND FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),COLORWHITE,NODRAW;DRAWLINE(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),DIF,FILTER(DIF底背>0,5),DIF,0),COLORMAGENTA,DOT;DRAWTEXT(DIF底背,DIF,'',COLORGREEN;DIF顶背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)<C AND REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)>DIF AND FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),COLORGREEN,NODRAW;DRAWLINE(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),DIF,FILTER(DIF顶背>0,5),DIF,0),COLORRED,DOT;DRAWTEXT(DIF顶背,DIF,'',COLORGREEN; 

     

     来源:程序化99

  • 文华技术人员:  请参考:
    N:=5; DIF : EMA(CLOSE,12) - EMA(CLOSE,26);//短周期与长周期的收盘价的指数平滑移动平均值做差。 DEA  : EMA(DIF,9);//DIFF的M个周期指数平滑移动平均 MACD:=2*(DIF-DEA),COLORSTICK;//DIFF减DEA的2倍画柱状线 DIF底背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)>C AND  REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)<DIF AND  FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),COLORWHITE,NODRAW; DRAWLINE(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),DIF,FILTER(DIF底背>0,5),DIF,0), COLORMAGENTA,DOT; DRAWTEXT(DIF底背,DIF,'',COLORYELLOW; DIF顶背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)<C AND  REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)>DIF AND  FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),COLORGREEN,NODRAW; DRAWLINE(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),DIF,FILTER(DIF顶背>0,5),DIF,0), COLORRED,DOT; DRAWTEXT(DIF顶背,DIF,'',COLORYELLOW; 

     

     来源: WWW.CXH99.COM

  • 文华客服:  字太小请问加粗怎么加

     

  • 网友回复:  红色加粗谢谢!

     

  • 网友回复:  请参考:
    N:=5; DIF : EMA(CLOSE,12) - EMA(CLOSE,26);//短周期与长周期的收盘价的指数平滑移动平均值做差。 DEA  : EMA(DIF,9);//DIFF的M个周期指数平滑移动平均 MACD:=2*(DIF-DEA),COLORSTICK;//DIFF减DEA的2倍画柱状线 DIF底背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)>C AND  REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),1))+1)<DIF AND  FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),COLORWHITE,NODRAW; DRAWLINE(FILTER(BACKSET(REF(DIF,N)=LLV(DIF,2*N+1),N+1),N) AND DIF=LLV(DIF,N+1),DIF,FILTER(DIF底背>0,5),DIF,0), COLORMAGENTA,DOT; DRAWTEXT(DIF底背,DIF,'',COLORRED,FONTSIZE20; DIF顶背:=REF(C,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)<C AND  REF(DIF,BARSLAST(REF(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),1))+1)>DIF AND  FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),COLORGREEN,NODRAW; DRAWLINE(FILTER(BACKSET(REF(DIF,N)=HHV(DIF,2*N+1),N+1),N) AND DIF=HHV(DIF,N+1),DIF,FILTER(DIF顶背>0,5),DIF,0), COLORRED,DOT; DRAWTEXT(DIF顶背,DIF,'',COLORRED,FONTSIZE20;

 

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

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


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

相关文章

    没有相关内容