最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信趋势判断主图源码

    正文概述    2024-04-14 15:02:48  

    趋势判断

    主力:=EMA(((2*C+H+L)/4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13){*VAR2},COLORRED;
    散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),COLORFF9933;
    上扬:IF(CROSS(主力,30) AND 散户<主力,L,DRAWNULL),POINTDOT,LINETHICK7,COLORLIMAGENTA;
    {35,STICK,LINETHICK2,COLOR000000;
    强弱分界线:=50, POINTDOT, LINETHICK2, COLORFFFF00;}
    买入脉冲:IF(CROSS(主力,散户) AND 主力<35,L*0.99,DRAWNULL),POINTDOT,LINETHICK7,COLORLIBLUE;
    VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
    操盘线:=SMA(VAR1,5,1),LINETHICK2,COLORRED;
    趋势线:=SMA(操盘线,3,1),LINETHICK2,COLORYELLOW;
    买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,L*0.98,DRAWNULL),POINTDOT,LINETHICK5,COLORRED;
    卖出脉冲:IF(CROSS(散户,主力) AND 散户>75,H*1.03,DRAWNULL),CROSSDOT,LINETHICK3,COLORGRAY;

    DRAWTEXT(CROSS(主力,散户) AND 主力<22,L,'起动'),COLORYELLOW;
    DRAWTEXT(CROSS(主力,30) AND 散户<主力,L,'上扬 '),COLOR00CCFF;
    DRAWTEXT(CROSS(主力,65) AND 散户<主力,H,'冲顶 '),COLOR9933FF;
    DRAWTEXT(CROSS(主力,75) AND 散户<主力,H,'小心被套'),COLORRED;
    DRAWTEXT(CROSS(散户,主力) AND 散户>75,H,'头部'), COLORYELLOW;
    DRAWTEXT(买入航标>0,L,'买入'),COLORRED;
    DRAWTEXT(CROSS(趋势线,操盘线)AND 操盘线>70,H*1.02,'卖出'),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势判断主图源码 加入收藏