美文网首页
止盈止损报警指标MCBJ

止盈止损报警指标MCBJ

作者: A赢 | 来源:发表于2021-03-28 22:56 被阅读0次

    {分时图上“止盈止损报警指标”MCBJ,初期设计的;无参数}

    MVOL:=IF(CLOSE>=REF(CLOSE,1),VOL,REVERSE(VOL));{成交量REVERSE(VOL)}

    JVOL:=MVOL+REF(MVOL,1);

    BB:=CLOSE<REF(CLOSE,1) AND (REF(CLOSE,1)>REF(CLOSE,2)) AND JVOL<0 AND VOL/REF(VOL,1)>2 AND VOL/REF(VOL,1)<10000;{成交量,手}

    C1C1:=CLOSE<REF(CLOSE,1) AND (REF(CLOSE,1)>REF(CLOSE,2)) AND JVOL<0 AND VOL/REF(VOL,1)>3 AND AMOUNT >3000000;{成交额,元}

    C2C2:=REF(CLOSE,1)/CLOSE>1.006;

    CC:=C1C1 AND C2C2;

    AABB:DRAWTEXT(BB,JVOL,'【');

    AACC:DRAWTEXT(CC,JVOL,'卖');

    VVOL:JVOL,STICK;

    M:=FROMOPEN-1;{求当前时刻距开盘有多长时间.}

    SS:=FINDHIGH(CLOSE,0,M,1);{CLOSE在0日前的M天内第1个最高价}

    XX:=CLOSE=TOPRANGE(M);{当前股价是近多少周期内的最大值}

    XXX:=TOPRANGE(M)=VOL;{当前成交量值是近多少周期内的最大值}

    Z2:=C>REF(C,1) AND C>REF(C,2) AND C>REF(C,3) AND C>REF(C,3);{剔除锯齿状类同一高点形态和相邻同高的形态}

    Y2:=C/REF(C,1)>1.01 AND V/REF(V,1)>2 AND AMOUNT>3000000;{2.3%>涨幅>1%;成交量放大2倍以上;成交金额>300万。成交量额小,涨幅大是诱多,成交量大,涨幅小涨是力不从心}

    A2:=HHV(C,M)=C AND HHV(VOL,M)=VOL;

    A1:=A2 AND Z2 AND Y2;

    R2:=C/REF(C,1)<1.01 AND V/REF(V,1)<1.5;{涨幅不够,并且量增不够或者成交额不够 标“诱多”}

    R22:=R2 OR AMOUNT<1200000;

    R33:=R2 AND AMOUNT>1900000;

    B12:=A2 AND R33;

    {但是,成交额>190万,或者成交量手数>1900手,或者成交量翻倍,即不标"诱多"(用IF函数来试试)QQ:=IF(V>1900,B1,DRAWNULL);}

    B1:=A2 AND R22;

    AADD:DRAWTEXT(A1,JVOL,'1');

    AAEE:DRAWTEXT(B1,JVOL,'诱多'),COLORCYAN;

    AAGG:DRAWTEXT(B12,JVOL,'诱多?'),COLORCYAN;

    相关文章

      网友评论

          本文标题:止盈止损报警指标MCBJ

          本文链接:https://www.haomeiwen.com/subject/ruzmhltx.html