最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 短线出局(发现机构入场)-指标公式源码

    正文概述    2024-04-07 19:00:20  
    DIFF:=EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M);
    DEA:=EMA(DIFF,N*9),COLOR000088;
    MACD:=2*(DIFF-DEA);
    MACDX:=MACD;
    MACDO:=EMA(MACD,5),COLORFF77FF;
    DIFFO:=EMA(DEA,P)*1.8;
    B:=MACD-REF(MACD,1);
    (MACD 0 AND B 0,0,MACD,0,1),COLOR0000CD;
    STICKLINE(MACD 0 AND B 0,0,MACD,0,0),COLOR0000CD;
    STICKLINE(MACD 0 AND B 0,0,MACD,0,1),COLORCYAN;
    STICKLINE(MACD 0 AND B 0,0,MACD,0,0),COLORCYAN;
    STICKLINE(DIFF DEA,DIFF,DEA,4,0),COLOR0089FF;
    STICKLINE(DIFF DEA,DIFF,DEA,4,0),COLORBLUE;
    发现机构入场:IF(DIFF =REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DRAWNULL),COLOR00C500,LINETHICK4;
    短线出局:IF(DIFF REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK4;
    IF(DIFF =REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DRAWNULL),COLORGRAY;
    IF(DIFF REF(DIFF,1) AND DEA REF(DEA,1),DIFF,DRAWNULL),COLORBLUE;
    IF(DIFFO =REF(DIFFO,1),DIFFO,DRAWNULL),COLORYELLOW;
    IF(DIFFO=REF(DIFFO,1),DIFFO,DRAWNULL),COLORYELLOW;
    IF(DIFFO REF(DIFFO,1),DIFFO,DRAWNULL),COLORMAGENTA;
    本帖隐藏的内容需要回复才可以浏览
    DRAWTEXT(C=C AND CURRBARSCOUNT=150,180,'操作:蓝转绿试买;见橙加仓;维持橙持股'),COLOR008987;
    DRAWTEXT(C=C AND CURRBARSC
    OUNT=150,150,'橙转黄减仓;蓝色空仓'),COLOR008987;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 短线出局(发现机构入场)-指标公式源码 加入收藏