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

    正文概述    2024-04-13 14:36:01  

    通达信纯K主图指标

    源码

    TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
    TYX4:=MA((C+L+O+H)/4,13);
    TYX5:=EMA((C+L+O+H)/4,21);
    {空心红}
    STICKLINE(CO,H,L,0,0),COLORRED;
    STICKLINE(CO,C,O,3,1),COLORRED;
    {深绿}
    STICKLINE(C
    STICKLINE(C
    STICKLINE(C
    STICKLINE(C
    {蓝}
    STICKLINE(C TYX5 AND C
    STICKLINE(C TYX5 AND C
    STICKLINE(C TYX5 AND C
    STICKLINE(C TYX5 AND C
    {黄}
    STICKLINE(C TYX5 AND C O,H,L,0,0 ),COLOR00EEFF;
    STICKLINE(C TYX5 AND C O,C,O,3,0 ),COLOR00AAFF;
    STICKLINE(C TYX5 AND C O,C,O,2,0 ),COLOR00CCFF;
    STICKLINE(C TYX5 AND C O,C,O,1,0 ),COLOR00EEFF;

    {粉红}
    STICKLINE(C TYX4 AND C O,H,L,0,0),COLORFF00FF;
    STICKLINE(C TYX4 AND C O,C,O,3,0 ),COLORFF11FF;
    STICKLINE(C TYX4 AND C O,C,O,2,0 ),COLORFF44FF;
    STICKLINE(C TYX4 AND C O,C,O,1,0 ),COLORFF66FF;
    {亮灰}
    STICKLINE(C TYX4 AND C
    STICKLINE(C TYX4 AND C
    STICKLINE(C TYX4 AND C
    STICKLINE(C TYX4 AND C
    {深红}
    STICKLINE(C TYX3 AND C O,H,L,0,0),COLOR0000DD;
    STICKLINE(C TYX3 AND C O,C,O,3,0),COLOR000099;
    STICKLINE(C TYX3 AND C O,C,O,2,0),COLOR0000BB;
    STICKLINE(C TYX3 AND C O,C,O,1,0),COLOR0000DD;

    {涨跌停K线}
    STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (CLOSE/REF(CLOSE,1)) 1.048,HIGH,LOW,3,0) ,COLORRED;
    STICKLINE(HIGH=LOW AND CLOSE=OPEN AND (REF(CLOSE,1)/CLOSE) 1.048,HIGH,LOW,3,0) ,COLOR00FF00;
    {突破}
    STICKLINE(REF(COUNT(CTYX3 AND C O,C,O,1,0),COLOR00CCFF;

    海面:MA(C,60),COLORFFFFFF,NODRAW;
    乘风:MA(C,8),COLORYELLOW,LINETHICK1,NODRAW;
    破浪:EMA(C,21),LINETHICK2,COLORMAGENTA;
    IF(破浪 海面,海面,DRAWNULL),COLOR0000FF,LINETHICK2;
    IF(乘风 =破浪,乘风,DRAWNULL),COLORYELLOW,LINETHICK1;
    IF(乘风 破浪 AND 乘风 =REF(乘风,1),乘风,DRAWNULL),COLORCYAN,LINETHICK1;
    IF(破浪 =REF(破浪,1),破浪,DRAWNULL),COLORGREEN,LINETHICK2;
    AA:=COUNT(CROSS(EMA(C,21),MA(C,8)),30)=1;
    BB:=COUNT(CROSS(EMA(C,21),MA(C,60)),30)=1;
    CC:=REF(BARSLAST(AA AND BB),1);
    DD:=CC AND CROSS(MA(C,8),EMA(C,21));
    DRAWTEXT(DD,(LOW * 0.99),' 乘风'),COLOR80FFFF;

    通达信纯K主图指标

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信纯K主图指标 加入收藏