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

    正文概述    2024-04-07 19:21:45  
    HT:=FINDHIGHBARS(H,LT+1,60,1);
    EXT1:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;
    TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
    DRAWLINE(TT=0,H,LTT=0,L,0),COLORYELLOW,LINETHICK2;
    EXT2:DRAWLINE(LTT=0,(EXT1-L)*0.618+L,ISLASTBAR,REF((EXT1-L)*0.618+L,LTT),0)DOTLINE,COLORLIMAGENTA;
    V1:=IF(C O OR (C=O AND C =REF(C,1)),VOL,0);
    V2:=IF(C O OR (C=O AND C REF(C,1)),VOL,0);
    LJ:=SUM(V1,LTT)/SUM(V2,LTT);
    XG:=COUNT(CROSS(C =EXT2,0.5),LTT+1)=1 AND CROSS(C =EXT2,0.5) AND LJ
    DRAWICON(XG,L*0.95,25);
    STICKLINE(XG,C,O,2,0),COLORYELLOW;
    STICKLINE(XG,H,L,0,0),COLORYELLOW;
    DRAWTEXT(LTT=0,L*0.98, 锅底 ),COLORYELLOW;

    {
    选股公式:

    LT:=LLVBARS(L,60);
    LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
    HT:=FINDHIGHBARS(H,LT+1,60,1);
    TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
    HJ:=REF((REF(H,TT)-L)*0.618+L,LTT);
    V1:=IF(C O OR (C=O AND C =REF(C,1)),VOL,0);
    V2:=IF(C O OR (C=O AND C REF(C,1)),VOL,0);
    LJ:=SUM(V1,LTT)/SUM(V2,LTT);
    COUNT(CROSS(C =HJ,0.5),LTT+1)=1 AND CROSS(C =HJ,0.5) AND LJ
    }


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信锅里捞主图及选股指标(源码) 加入收藏