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

    正文概述    2024-04-13 11:53:11  

    通达信 高抛低吸源码副图

    AF1:=1;
    TT:=BARSLAST(HOUR=9 AND MINUTE=(30+AF1))+1;
    均价:AMOUNT/VOL/100,COLORYELLOW;
    价位:C,COLORWHITE,LINETHICK4;
    盘整:=IF(HOUR 9 AND RANGE(HHV(C,60)/LLV(C,60),1,1.02),C,DRAWNULL),COLORRED,LINETHICK3;


    V1:=EMA(V,1);
    HH:=C REF(C,1) AND V1 REF(V1,1) AND C/均价 (1+0.03);
    LL:=C REF(C,1) AND V1 REF(V1,1) AND C/均价 (1-0.03);
    DRAWICON(FILTER(HH,240),C,39);
    DRAWICON(FILTER(LL,240),C,38);

    SS:=CROSS(SUM(C =REF(C,1),BARSLAST(HH))=1,0.5);
    BB:=CROSS(SUM(C =REF(C,1),BARSLAST(LL))=1,0.5);
    BB2:=CROSS(SUM(BB,0),0.5) ;
    SS2:=CROSS(SUM(SS,0),0.5) ;
    CB2:CONST(SUM(IF(BB2,REF(C,1),DRAWNULL),0)),COLORRED,LINETHICK2;
    CS2:CONST(SUM(IF(SS2,REF(C,1),DRAWNULL),0)),COLORGREEN,LINETHICK2;

    BB3:=IF(CROSS(SUM(CROSS(BB AND C/CB2 0.95,0.5),0),0.5) AND SUM(BB,0) 1,1,0);
    SS3:=IF(CROSS(SUM(CROSS(SS AND C/CS2 1.05,0.5),0),0.5) AND SUM(SS,0) 1,1,0);
    CB3:CONST(SUM(IF(BB3,REF(C,1),DRAWNULL),0)),COLORRED;
    CS3:CONST(SUM(IF(SS3,REF(C,1),DRAWNULL),0)),COLORGREEN;

    DRAWTEXT(BB2,REF(C,1)*0.99,'低吸1'),COLORRED;
    DRAWTEXT(SS2,REF(C,1)*1.01,'高抛1'),COLORGREEN;
    DRAWTEXT(BB3,REF(C,1)*0.99,'低吸2'),COLORRED;
    DRAWTEXT(SS3,REF(C,1)*1.01,'高抛2'),COLORGREEN;
    DRAWICON(BB2 OR BB3,REF(C,1)*0.99,1);
    DRAWICON(SS2 OR SS3,REF(C,1)*1.01,2);

    通达信 高抛低吸源码副图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信 高抛低吸源码副图 加入收藏