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

    正文概述    2024-04-13 14:52:49  

    万手:vol/10000,LINETHICK0;
    AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    预测:AA/10000;
    BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
    主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE主买:=主动买/10000,COLORRED;
    主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE主卖:=-主动卖/10000,COLORGREEN;
    总额:=主买+主卖;
    主买占比%:主买/总额*100,COLORMAGENTA;
    V总:=主动买-主动卖;
    买卖比:主动买/(-主动卖);
    VE:=V总/REF(V总,1);
    倍量:VE>2;
    倍缩:VE<=0.5;
    差额:=(主动买+主动卖)/10000;
    MA5:MA(V,5)COLORWHITE;
    MA10:=MA(V,10)COLORRED;
    MA120:MA(V,60)COLORYELLOW;
    持币:IF(SAR(10,2,20)>=H,sar(10,2,20),DRAWNULL);
    DRAWICON(持币>0,持币,2 );
    持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL);
    DRAWICON(持股>0,持股,1 );
    STICKLINE(主动买,0,主动买,2.0,0),COLORMAGENTA;
    STICKLINE(买卖比>1,主动买,V总,2.0,0),COLORYELLOW;
    STICKLINE(买卖比<=1,主动买,V总,2.0,0),COLORBLUE;
    STICKLINE(VE>2,0,V总/3,2.0,0),COLORRED;
    STICKLINE(VE<=0.5,0,V总/3,2.0,0),COLORGREEN;
    VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
    VAR6:=(VAR3+VAR4+VAR5)/3;
    VAR7:=EMA(VAR6,5);
    K:EMA(VAR7,5)*2, ,COLORFF00FF;
    D:EMA(K,5), , COLORWHITE;
    J:K*3-D*2, ,COLORYELLOW;
    DRAWTEXT_FIX(1,0.01,0.05,0,'【粉+黄做多】【粉+蓝做空】【粉色做多】【蓝色做空】【黄色做多】【红色倍量】【绿色缩量】')COLOR00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主买占比指标公式 加入收藏