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

    正文概述    2024-04-13 14:20:00  

    使用方法:红箭头是rsi上穿买点,上行趋势加仓,下行趋势做短或者忽略,绿色箭头rsi下穿100或者逃顶标识卖出、涨停板加亮显示更直观。

    源码:涨停:=IF(REF(C,1)*1.1-C 0.2 ,1,0);
    STICKLINE(涨停,OPEN,CLOSE,4,2),COLORRED;
    STICKLINE(涨停,OPEN,CLOSE,0.8,0),COLORYELLOW;
    STICKLINE(涨停,H,L,0,0),COLORYELLOW;
    ZT:=C/REF(C,1) 1.095;
    STICKLINE(MA(CLOSE,5) REF(MA(CLOSE,5),1) AND ZT,O,C,0.6,0),COLORYELLOW;
    STICKLINE(MA(CLOSE,5) =REF(MA(CLOSE,5),1) AND ZT,O,C,0.6,0),COLORRED;
    VAR6:=REF(C,1);
    VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
    DRAWTEXT(CROSS(82,VAR7),H*1.02,'逃顶'),COLORYELLOW;
    N:=9;
    M1:=3;
    M2:=3;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,NODRAW;
    K:=SMA(RSV,M1,1),NODRAW;
    D:=SMA(K,M2,1),NODRAW;
    J:=3*K-2*D,NODRAW;
    CJ_K:=MA(K,15),LINETHICK2,NODRAW;
    CJ_D:=MA(D,15),LINETHICK2,NODRAW;
    CJ_J:=MA(J,15),LINETHICK2,NODRAW;
    DRAWICON(CROSS(CJ_K,CJ_D) CJ_D 30,L*0.92,11);
    DRAWICON(CROSS(CJ_D,CJ_K) CJ_D 70,H*1.05,12);
    DRAWICON(CROSS(CCI,-100),L*0.98,1);
    DRAWICON(CROSS(CCI,0),L*0.98,1);
    DRAWICON(CROSS(CCI,100),L*0.98,1);
    DRAWICON(CROSS(100,CCI),H*1.02,2);
    {DRAWICON(CROSS(50,CCI),H*1.02,12);};
    PT1:=CONST(HHV(H,20))/1.2;
    IF(CURRBARSCOUNT =10,PT1,DRAWNULL),COLORGREEN;
    DRAWTEXT(ISLASTBAR,PT1,'回马枪观测'),COLORWHITE;
    PT2:=CONST(HHV(H,10))/1.2;
    IF(CURRBARSCOUNT =10,PT2,DRAWNULL),COLORGREEN;
    DRAWTEXT(ISLASTBAR,PT2,'回马枪观测'),COLORWHITE;

    通达信逃顶与涨停主图源码

    通达信逃顶与涨停主图源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信逃顶与涨停主图源码 加入收藏