最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 金牛三色K线源码附图

    正文概述    2024-04-13 12:59:18  

    {金牛三色K线}

     {主趋势线:EMA(EMA(C,10),10),COLORBLUE,LINETHICK3;
     B:=主趋势线  IF(B-1,主趋势线,DRAWNULL)COLORRED,LINETHICK3;}
    主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
     B:=主趋势线>REF(主趋势线,1);
     IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK3;
     {操盘线:EMA(EMA(C,5),5),COLORRED,LINETHICK2;
     Y:=操盘线>REF(操盘线,1);
     IF(Y-1,操盘线,DRAWNULL)COLORGREEN,LINETHICK2;}

    AA:=EMA(C,5) > EMA(C,20);
     BB:=EMA(C,5) < EMA(C,20);
     CC:= EMA(C,5) > EMA(C,10);
     CC1:=EMA(C,5) < EMA(C,10);
     DD:=CLOSE


     STICKLINE(AA,H,L,0,0),COLORRED;
     STICKLINE(AA,O,C,3,1),COLORRED;
     STICKLINE(AA AND DD,O,C,3,0),COLORRED;
     STICKLINE(BB,H,L,0,0),COLORGREEN;
     STICKLINE(BB,O,C,3,1),COLORGREEN;

    STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;
     STICKLINE(BB AND CC,H,L,0,1),COLORWHITE;
     STICKLINE(BB AND CC,O,C,3,1),COLORWHITE;
     STICKLINE(BB AND CC AND DD,O,C,3,0),COLORWHITE;
     STICKLINE(AA AND CC1,H,L,0,0),COLORWHITE;
     STICKLINE(AA AND CC1,O,C,3,1),COLORWHITE;
     STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;


     AAA:=CONST(HHV(C,90));
     {DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA,'智能分析:目前处于红色买区,上涨趋势良好,多单持有。'),COLORRED,LINETHICK4;}
     DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '红色K线做多,绿色K线做空,白色K线观望。 '),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 金牛三色K线源码附图 加入收藏