最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 添加macd信号

    正文概述    2024-04-14 09:34:10  

    九毛八公式指标

    "MACD.DIF">0 AND "MACD.DEA">0 AND REF(BARSLASTCOUNT("MACD.MACD"=3,1) AND "MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD">0; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); T:=BARSLAST(CROSS(DIFF,0)); XG:CROSS(HHV(CROSS(DIFF,DEA),T)>=1,0.5) AND DEA>0; 请老师将图2,图3的信号加到图1,并注上文字 ;图1为系统自带macd指标 谢谢老师 周末快乐

    公式模块:

    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);

    DEA:EMA(DIF,9); macd:(DIF-DEA)*2,COLORSTICK; XG1:"MacD.DIF">0 AND "MACD.DEA">0 AND REF(BArslASTCOUNT("MACD.MACD"<REF("MACD.MACD",1))>=3,1) AND "MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD">0; T:=BARSLAST(crOSS(DIF,0)); XG2:CROSS(HHV(CROSS(DIF,DEA),T)>=1,0.5) AND DEA>0; DRAWTEXT(XG1,XG1,'---2'),COLORGREEN; DRAWTEXT(XG2,XG2,'---3'),COLORRED;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 添加macd信号 加入收藏