最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 出现金叉做个选股

    正文概述    2024-04-08 00:59:54  
    EE:=DEA REF(DEA,1) AND REF(DEA REF(DEA,1),1)=1;
    CC:=C REF(C,1) AND REF(C REF(C,1),1)=1;
    上升背离:=(CC AND EE)*DEA,COLOR00FFFF;
    顶背离:(DD AND EE AND DEA HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN;
    FF:=C=LLV(C,180);
    GG:= DEA REF(DEA,1) AND REF(DEA REF(DEA,1),1)=1;
    LL:=C REF(C,1) AND REF(C REF(C,1),1)=1;
    下降背离:=(LL AND GG)*DEA,COLORMAGENTA;
    底背离:=(FF AND GG AND DEA LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED;
    MM:=IF(MACD 0,MACD,0);
    JJ:=MM REF(MM,1);
    ZZ:=REF(JJ,1)=1;
    介入区:(JJ AND ZZ)*DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短}
    STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED;
    DRAWTEXT(CROSS(DIFF,DEA ),0,'金叉'),COLORYELLOW;
    DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN;
    金叉:CROSS(DIFF,DEA);

    公式模块:


    DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);

    金叉:CROSS(DIFF,DEA);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 出现金叉做个选股 加入收藏