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

    正文概述    2024-04-13 09:58:18  

    X_1:=IF(CLOSE REF(CLOSE,1),AMOUNT,-AMOUNT);
    N1:SUM(IF(CLOSE=REF(CLOSE,1),0,X_1),0)/100000000,NODRAW,COLORRED,LINETHICK2;
    X_2:=MA(N1,10);
    X_3:=HHV(N1,20);
    X_4:=LLV(N1,20);
    X_5:=REF(N1,1);
    X_6:=1221231;
    X_7:=IF(DATE X_6,1,DRAWNULL);
    STICKLINE(N1 X_2,N1*X_7,X_5*X_7,3,0),COLORRED;
    STICKLINE(N1 X_2,N1*X_7,X_5*X_7,3,0),COLORGREEN;
    X_8:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*750;
    庄家运作区:REF(X_8*X_7,1),DOTLINE,COLORRED;
    X_9:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*500;
    庄家洗盘区:REF(X_9*X_7,1),DOTLINE,COLORCYAN;
    X_10:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*250;
    庄家杀跌区:REF(X_10*X_7,1),DOTLINE,COLORGREEN;
    X_11:=LLV(N1,60)+(HHV(N1,60)-LLV(N1,60))/1000*500;
    牛庄线:REF(X_11*X_7,1),COLORWHITE,LINETHICK2;
    IF(N1 牛庄线,牛庄线,DRAWNULL),COLORRED,LINETHICK2;
    IF(N1 牛庄线,牛庄线,DRAWNULL),COLORGREEN,LINETHICK2;
    STICKLINE(N1 庄家运作区 AND N1 X_2,N1*X_7,X_5*X_7,3,0),COLORMAGENTA;
    增减值:(N1/REF(N1,1)-1)*100*X_7,NODRAW,COLORRED;
    量能比:(AMOUNT/REF(AMOUNT,1)-1)*100,NODRAW,COLORRED;
    累积量比:AMOUNT/100000000/N1*100*X_7,NODRAW,COLORMAGENTA;
    均值:MA(增减值,3)*X_7,NODRAW,COLORWHITE;
    天数:BARSLAST(均值 0)-BARSLAST(均值 0),NODRAW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 X_2),0,0,0,17),COLORMAGENTA;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 X_2),0.1,0,0,18),COLORRED;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 X_2),0,0,0,19),COLORMAGENTA;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 X_2),0.1,0,0,20),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 庄家洗盘区 AND N1 X_2),0,0,0,21),COLORCYAN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 庄家洗盘区 AND N1 X_2),0.1,0,0,22),COLORRED;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 庄家洗盘区 AND N1 X_2),0,0,0,23),COLORCYAN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家运作区 AND N1 庄家洗盘区 AND N1 X_2),0.1,0,0,24),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家洗盘区 AND N1 庄家杀跌区 AND N1 X_2),0,0,0,25),COLORWHITE;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家洗盘区 AND N1 庄家杀跌区 AND N1 X_2),0.1,0,0,26),COLORRED;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家洗盘区 AND N1 庄家杀跌区 AND N1 X_2),0,0,0,27),COLORWHITE;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家洗盘区 AND N1 庄家杀跌区 AND N1 X_2),0.1,0,0,28),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家杀跌区 AND N1 X_2),0,0,0,29),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家杀跌区 AND N1 X_2),0.1,0,0,30),COLORRED;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家杀跌区 AND N1 X_2),0,0,0,31),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1 庄家杀跌区 AND N1 X_2),0.1,0,0,32),COLORGREEN;
    X_12:=X_6-1000000;
    到期日:X_12,NODRAW,COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 1 0,0,0.95,0,15),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 1 0,0.05,0.95,0,到期日),COLORYELLOW;

    通达信跟庄趋势副图指标公式源码

    通达信跟庄趋势副图指标公式源码

    通达信跟庄趋势副图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信跟庄趋势副图指标公式源码 加入收藏