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

    正文概述    2024-04-13 17:23:28  

    STICKLINE(C,12,0,5,0),COLOR9C8700;
    STICKLINE(C,-2,0,5,0),COLOR004400;

    {//弱态描述}
    苦难众生:EMA((1-WINNER(C)),13)*10,COLOR008800;
    苦海深渊:(C-MA(C,27))/MA(C,27)<-0.16,COLOR005500,LINETHICK0;
    渐脱苦海:HHV(苦难众生,3)>苦难众生,COLOR0099DD,LINETHICK0;
    STICKLINE(渐脱苦海,HHV(苦难众生,3),0,4,0),COLOR0099DD;
    STICKLINE(苦难众生>0,苦难众生,0,4,0),COLOR555500;
    STICKLINE(苦难众生>8.5,苦难众生,8.5,4,0),COLOR00BBAA;
    STICKLINE(苦难众生>9,苦难众生,9,4,0),COLOR00FFAA;
    STICKLINE(苦难众生>9.5,苦难众生,9.5,4,0),COLORFFFFFF;
    涨二成仍套比:=(1-WINNER(1.2*C))*10;
    涨二成五仍套比:=(1-WINNER(1.25*C))*10;
    涨三成仍套比:=(1-WINNER(1.3*C))*10;
    涨四成仍套比:=(1-WINNER(1.4*C))*10;
    涨五成仍套比:=(1-WINNER(1.5*C))*10;
    STICKLINE(涨二成仍套比,涨二成仍套比,0,4,0),COLOR66EE66;
    STICKLINE(涨二成五仍套比,涨二成五仍套比,0,4,0),COLOR33AA33;
    STICKLINE(涨三成仍套比,涨三成仍套比,0,4,0),COLOR007700;
    STICKLINE(涨四成仍套比,涨四成仍套比,0,4,0),COLOR005500;
    STICKLINE(涨五成仍套比,涨五成仍套比,0,4,0),COLOR003300;
    {//大底判断}
    换手:=vol/CAPITAL*100;
    综价:=(H+L+O+3*C)/6;
    量权均线:=DMA(综价,换手/SUM(换手,10));
    量价判底:=(C-量权均线)/量权均线<-0.22;
    速跌:=REF(H,10)/C>1.382;
    急跌:=REF(C,3)/L>1.15;
    易涨:=COST(15)>1.25*C;
    市场弱状:=速跌 AND 急跌 AND 易涨;
    异动:=H>L*1.051 OR H>L+0.05*REF(C,1);
    乖离条件:=(C-MA(C,34))/MA(C,34)<-0.23 OR C/MA(C,60)<0.74;
    乖离判底:=(市场弱状 OR 乖离条件) AND 异动;
    佛珠:量价判底 OR 乖离判底,COLORRED,LINETHICK0;
    {//长线波动与短线波动的描述}
    多空线:=(MA(综价,2)+MA(综价,4)+MA(综价,8)+MA(综价,16))/4;
    长线多空对峙位:=(多空线-LLV(多空线,120))/(HHV(多空线,120)-LLV(多空线,120))*10;
    K长:=SMA(长线多空对峙位,21,1);
    D长:=SMA(K长,21,1);
    J长:=3*K长-2*D长;
    J长A:=IF(J长>10,10,J长);
    J长B:=IF(J长A<0,0,J长A);
    均J长B:=SMA(J长B,2,1);
    虔心向佛:均J长B>=REF(均J长B,1),COLORFF63DB,LINETHICK0;
    短线多空对峙位:=(多空线-LLV(多空线,30))/(HHV(多空线,30)-LLV(多空线,30))*10;
    K短:=SMA(短线多空对峙位,3,1);
    D短:=SMA(K短,3,1);
    J短:=3*K短-2*D短;
    J短A:=IF(J短>10,10,J短);
    J短B:=IF(J短A<0,0,J短A);
    均J短B:=SMA(J短B,2,1);
    观音指点:crOSS(均J短B,REF(均J短B,1)) AND K短<8,COLORYELLOW,LINETHICK0;
    福缘:均J短B>=REF(均J短B,1),COLORRED,LINETHICK0;
    缘尽:NOT(福缘),COLORWHITE,LINETHICK0;
    观音点化:CROSS(均J短B,苦难众生) AND 均J短B>REF(均J短B,1),COLORFFFFFF,LINETHICK0;
    {//强势描述}
    乖离13:=10-SMA((C-MA(C,13))/MA(C,13),2,1)*10;
    乖离16:=10-SMA((C-MA(C,16))/MA(C,16),2,1)*10;
    乖离21:=10-SMA((C-MA(C,21))/MA(C,21),2,1)*10;
    可羽化:=乖离13<10;
    羽化:(可羽化 AND 乖离13);
    可飞升:=乖离16<10;
    飞升:可飞升 AND 乖离16;
    可成仙:=乖离21<10;
    成仙:乖离21;
    STICKLINE(可成仙,乖离21,10.5,4,0),COLOR00389A;
    STICKLINE(成仙,乖离21,10.5,4,0),COLOR00BEFF;
    STICKLINE(可飞升,乖离16,10.5,4,0),COLOR00389A;
    STICKLINE(可羽化,乖离13,10.5,4,0),COLORFF76FF;
    成佛:CROSS(均J短B,乖离21),COLOR0000FF,LINETHICK0;
    DRAWICON(成佛,10,5);
    DRAWICON(成佛,9.5,5);
    DRAWICON(成佛,9.0,5);
    DRAWTEXT(成佛,9.5,'←成佛'),,COLORFFFFFF;

    {//画图}
    STICKLINE(苦海深渊,0,0.8,10,0),COLOR001100;
    DRAWICON(佛珠,1.5,5);
    IF(虔心向佛,均J长B,DRAWNULL),COLOR990099,LINETHICK4,POINTDOT;
    IF(NOT(虔心向佛),均J长B,DRAWNULL),COLOR888888,LINETHICK4,POINTDOT;
    IF(福缘,均J短B,DRAWNULL),COLORRED,LINETHICK3;
    IF(缘尽,均J短B,DRAWNULL),COLORWHITE,LINETHICK3;
    DRAWICON(观音指点,REF(均J短B,1),11);
    DRAWTEXT(成佛,11,'天界修炼'),COLORFFFFFF;
    点化后周期:=BArslAST(观音点化);
    点化后C尽利:IF(点化后周期>0,(C-REF(C,点化后周期))/REF(C,点化后周期)-0.01,0),LINETHICK0,COLORYELLOW;
    DRAWTEXT(观音点化,均J短B,'←观音点化'),COLOR0000FF;
    {//版权信息}
    DRAWTEXT((CURRBARSCOUNT=25),-1,'源码来自网络.略加修饰'){,ALIGN5},COLORFFFF00;
    太阳:IF(MA2>90 AND rsi>50,1,0),COLOR0000FF,POINTDOT,LINETHICK0;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信多空对峙指标公式 加入收藏