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

    正文概述    2024-04-07 11:44:33  

    股市导航指标 漂亮实用 通达信主图指标 源码 贴图

    {股市导航指标}

    A1:=C FINDHIGH(C,1,9,1);
    A2:=VOL=HHV(VOL,3);
    BP1:=A1 AND A2;
    BP2:=C O AND BARSCOUNT(C)
    BP:=BP1 OR BP2;
    SP:=
    NOT(BP) AND
    CROSS(MA(L,19),C);
    ENTERLONG:=TFILTER(BP,SP,1);
    EXITLONG:=TFILTER(BP,SP,2) AND NOT(BP);
    VAR1:=C/REF(C,BARSLAST(ENTERLONG))-1;
    亮灯收益%:
    IF(BARSLAST(ENTERLONG) BARSLAST(EXITLONG),VAR1*100,DRAWNULL),NODRAW;
    亮灯天数:
    IF(BARSLAST(ENTERLONG) BARSLAST(EXITLONG),BARSLAST(ENTERLONG)+1,DRAWNULL),NODRAW;
    灭灯价格:=
    IF(BARSLAST(ENTERLONG) BARSLAST(EXITLONG),MA(L,19),DRAWNULL),NODRAW;
    分割线1:DRAWNULL,NODRAW;
    分割线2:DRAWNULL,NODRAW;
    分割线3:DRAWNULL,NODRAW;
    DRAWGBK(C 0,RGB(255,255,0),RGB(0,0,0),0,' ',0);
    DRAWICON(ENTERLONG,LOW*0.99,34);
    DRAWICON(EXITLONG,HIGH*1.01,35);
    DRAWTEXT_FIX(C 0,0.80,0.90,0,'亮灯持续时间'),COLORRED;
    DRAWNUMBER_FIX(C 0 AND BARSLAST(ENTERLONG) BARSLAST(EXITLONG),0.80,0.95,0,CONST(亮灯天数)),COLORRED;
    DRAWTEXT_FIX(C 0,0.90,0.90,0,'灭灯价格'),COLOR00FFFF;
    DRAWNUMBER_FIX(C 0 AND BARSLAST(ENTERLONG) BARSLAST(EXITLONG),0.90,0.95,0,CONST(灭灯价格)),COLOR00FFFF;
    VAR2:=HHV(H,10)/LLV(L,300) 2 AND (HHV(H,10)-LLV(L,300))/(HHV(H,300)-LLV(L,300))
    VAR3:=BARSLAST(ENTERLONG) BARSLAST(EXITLONG) OR BARSCOUNT(C) =100;
    VAR4:=BARSLAST(ENTERLONG) =BARSLAST(EXITLONG);{www.9m8.cn 九毛八公式指标网}
    STICKLINE(VAR3,H,L,0,0),COLOR4646FF;
    STICKLINE(VAR3,C,O,3.2,0),COLOR000033;
    STICKLINE(VAR3,C,O,2.7,0),COLOR000066;
    STICKLINE(VAR3,C,O,2.1,0),COLOR000099;
    STICKLINE(VAR3,C,O,1.5,0),COLOR0000CC;
    STICKLINE(VAR3,C,O,0.9,0),COLOR0000FF;
    STICKLINE(VAR3,C,O,0.2,0),COLOR4646FF;
    STICKLINE(VAR4,H,L,0,0),COLOR28FF28;
    STICKLINE(VAR4,C,O,3.2,0),COLOR003300;
    STICKLINE(VAR4,C,O,2.7,0),COLOR006600;
    STICKLINE(VAR4,C,O,2.1,0),COLOR009900;
    STICKLINE(VAR4,C,O,1.5,0),COLOR00CC00;
    STICKLINE(VAR4,C,O,0.9,0),COLOR00FF00;
    STICKLINE(VAR4,C,O,0.2,0),COLOR28FF28;
    DRAWNUMBER(EXITLONG AND C REF(C,BARSLAST(ENTERLONG)),H*1.06,(C/REF(C,BARSLAST(ENTERLONG))-1)*100),COLORRED;
    DRAWNUMBER(ENTERLONG AND C REF(C,BARSLAST(EXITLONG)),L*0.94,(C/REF(C,BARSLAST(EXITLONG))-1)*100),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 股市导航指标 漂亮实用 通达信主图指标 九毛八公式指标网 加入收藏