最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信强劲RSI副图指标 简单实用有效 源码附图

    正文概述    2024-04-14 19:55:59  
    强弱线:50,LINETHICK2,COLOR858585;
    警示线:80,POINTDOT,COLORCYAN;
    减仓线:90,COLOR00AA55,LINETHICK2;
    清仓线:95,COLOR0000AA,LINETHICK2;
    RSI5:SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100,NODRAW,COLORFFAAFF;
    RSI10:SMA(MAX(C-REF(C,1),0),10,1)/SMA(ABS(C-REF(C,1)),10,1)*100,NODRAW,COLORDDAADD;
    RSI20:SMA(MAX(C-REF(C,1),0),20,1)/SMA(ABS(C-REF(C,1)),20,1)*100,NODRAW,COLORAA99AA;
    VAR1:=BARSLAST(REF(CROSS(RSI20,RSI5),1));
    VAR2:=REF(CLOSE,VAR1+1)RSI5 AND CROSS(RSI20,RSI5);
    VAR3:=BARSLAST(REF(CROSS(RSI5,RSI20),1));
    VAR4:=REF(CLOSE,VAR3+1)>CLOSE AND RSI5>REF(RSI5,VAR3+1) AND CROSS(RSI5,RSI20);
    VAR5:=REF(RSI5,3)=HHV(RSI5,2*3+1);
    VAR6:=BACKSET(FILTER(VAR5,3),3+1);
    VAR7:=REF(RSI5,3)=LLV(RSI5,2*3+1);
    VAR8:=BACKSET(FILTER(VAR7,3),3+1);
    VAR9:=BACKSET(ISLASTBAR,BARSLAST(FILTER(VAR6,3))+1);
    VAR10:=VAR9>REF(VAR9,1);
    VAR16:=BACKSET(ISLASTBAR,BARSLAST(FILTER(VAR8,3))+1);
    VAR18:=VAR16>REF(VAR16,1);
    DRAWBAND(RSI5,RGB(255,0,255),RSI10,RGB(0,255,0));
    DRAWBAND(RSI10,RGB(255,0,255),RSI20,RGB(0,255,0));
    金叉:CROSS(RSI5,RSI20) AND CROSS(RSI10,RSI20),COLORRED,NODRAW;
    死叉:CROSS(RSI20,RSI10) AND CROSS(RSI20,RSI5),COLORGREEN,NODRAW;
    顶背离:IF(VAR2,RSI5,DRAWNULL),CIRCLEDOT,COLORFFCC00;
    STICKLINE(VAR2,RSI5,RSI5*0.9,0,0),COLORFFCC00;
    DRAWTEXT(VAR2,RSI5*0.9,'顶背离'),COLOR00FFFF;
    底背离:IF(VAR4,RSI5,DRAWNULL),CIRCLEDOT,COLOR6699FF;
    STICKLINE(VAR4,RSI5,RSI5*1.1,0,0),COLOR6699FF;
    DRAWTEXT(VAR4,RSI5*1.1,'底背离'),COLOR40FF00;
    压力线:DRAWLINE(FILTER(VAR6,3),RSI5,VAR10,RSI5,1),LINETHICK1,COLORCC33CC;
    支撑线:DRAWLINE(FILTER(VAR8,3),RSI5,VAR18,RSI5,1),COLOR00CCCC;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信强劲RSI副图指标 简单实用有效 源码附图 加入收藏