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

    正文概述    2024-04-14 09:12:23  

    九毛八公式指标

    请老师帮写一个MACD指标 DIF大于DEA 在60均线上收阴 做个预警选股 谢谢老师 1请老师帮写一个MACD指标 DIF大于DEA 在60均线上收阴 做个预警选股 谢谢老师 2请老师帮写一个MACD指标 出低 在60均线上收阴 做个预警选股 谢谢老师 老师两个选股 谢谢老师 DIF:=EMA(CLOSE,10)-EMA(CLOSE,22); DE:=EMA(DIF,7.5); MACDA:=2*(DIF-DE),; HZL:=CROSS(MACDA,0); LZH:=CROSS(0,MACDA); BC:=BARSLAST(HZL OR LZH)+1; ZGHZ:=IF(MACDA>0,HHV(MACDA,BC),0); ZGLZ:=IF(MACDA<0,LLV(MACDA,BC),0); DRAWBAND(ZGHZ,RGB(105,77,77),0,RGB(77,77,77)); DRAWBAND(ZGLZ,RGB(80,0,0),0,RGB(66,88,66)); DIFF:EMA(CLOSE,10)-EMA(CLOSE,22),COLORFFFFFF; DEA:EMA(DIFF,7.5),COLOR00FFFF; MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK0; STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1.5,1),COLORRED; STICKLINE(MACD>0 AND MACDREF(MACD,1),0,MACD,1.5,0),COLORFFAAFF; ↑:TROUGHBARS(3,3,1),COLOR0000FF,NODRAW; ↓:PEAKBARS(3,3,1),COLOR00FF00,NODRAW; 低:IF(↑=0,DIFF,IF(↓<↑,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW; 高:IF(↓=0,DIFF,IF(↑<↓,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW; STICKLINE(↑=0 AND DIFF<0 and diff0 AND DIFF>DEA,DIFF,0,0,0),COLOR00FF00; DRAWTEXT(↑=0 AND DIFF<0 and diff0 AND DIFF>DEA,DIFF,'高'),COLOR00FF00; 低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1; JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); 二次金叉:=CROSS(DIFF,DEA) AND DEA<0 and count(jccount=2,21)=1;AA1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=(REF(L,AA1+1)>L OR REF(C,AA1+1)>C) AND (L,DIFF)>REF((L,DIFF),AA1+1) AND CROSS(DIFF,DEA); DRAWLINE(AA1=0,DEA,底背离,DEA,0),COLOR0000FF,LINETHICK1; AA2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 顶背离:=(REF(C,AA2+1)(H,DIFF) AND CROSS(DEA,DIFF);

    公式模块:

    DIF:=EMA(CLOSE,10)-EMA(CLOSE,22);

    DE:=EMA(DIF,7.5); dif>de and c>ma(c,60) and c<o;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » MACD指标 DIF大于DEA 加入收藏