去评论
彩虹桥投资充电站

金牛MACD背离(通达信指标 源码 测试图)

beyond202104
2023/08/28 16:47:52

DIF:EMA(CLOSE,12)-EMA(CLOSE,27),COLORRED,LINETHICK2;DEA:EMA(DIF,9),COLORWHITE,LINETHICK2;持仓段:=0,COLOR00CFFF;空仓段:=0,COLORFFCCFF;STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;STICKLINE(DIF<DEA,-0.5,-0.6,10,1),COLORFFCCFF;MACDDIF-DEA)*2,COLORSTICK;STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORLIBLUE,LINETHICK2;STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORFF00FF,LINETHICK2;建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK2;白线破仓:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2;趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;AA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1,COLORMAGENTA,NODRAW;DRAWTEXT(二次金叉,0.25,' 二次金叉'),COLORYELLOW;A1:=BARSLAST(REF(CROSS(DIF,DEA),1));底背离:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),COLORMAGENTA,NODRAW;STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;底背RAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;A2:=BARSLAST(REF(CROSS(DEA,DIF),1));顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF),COLORMAGENTA,NODRAW;

顶背RAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;




  • 破解源码(年卡、至尊会员专享区)决胜千里主图指标公式 战略投资者们的福音
  • 破解源码(年卡、至尊会员专享区)多维度托压多空信号指示,高成功率的主图指
  • 破解源码(年卡、至尊会员专享区)通达信主浪战法终极版主图指标公式
  • 破解源码(年卡、至尊会员专享区)黄金分割通道指标公式 具有显著的抓牛股的
  • 破解源码(年卡、至尊会员专享区)战神之王通达信指标公式 无未来函数,信号
  • 破解源码(年卡、至尊会员专享区)通达信《大盘资金进出》副参考大盘趋势走向