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

    正文概述    2024-04-14 13:44:53  

    IF(PERIODNAME<>"日线")

    {

    统计:"该指标只在日线周期下有效。";

    RETURN;

    }

    m3:=MA(CLOSE,2);

    Ms5:=SMA(m3,5,3);

    Ms13:=SMA(CLOSE,13,2);

    Ms21:=SMA(CLOSE,21,1);

    RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

    a=SMA(RSV,3,1);

    b=SMA(a,3,1);

    大单净差BBD:=BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1;

    DIFF:=EMA(大单净差BBD,6) - EMA(大单净差BBD,13);

    DIFF2:=EMA(大单净差BBD,9) - EMA(大单净差BBD,20);

    m1=0;

    m2=0;

    m3=0;

    m4=0;

    m5=0;

    m6=0;

    IF(Ms5>REF(Ms5,1))

    m1=10;

    ELSE IF(Ms5

    m1=-10;

    IF(Ms5

    m2=5;

    ELSE IF(Ms5>C)

    m2=-5;

    IF(Ms13>REF(Ms13,1))

    m3=5;

    ELSE IF(Ms13

    m3=-5;

    IF(Ms21>REF(Ms21,1))

    m4=10;

    ELSE IF(Ms21

    m4=-10;

    IF(b>90)

    m5=-10;

    ELSE IF(b<90 AND b>10)

    m5=0;

    ELSE IF(b<10)

    m5=10;

    IF(diff>0 AND diff2>0)

    m6=10;

    ELSE IF(diff>0 OR diff2>0)

    m6=0;

    ELSE IF(diff<0 AND diff2<0)

    m6=-10;

    大盘仓位指标为:(m1+m2+m3+m4+m5+m6+50);

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 仓位控制指标公式 加入收藏