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

    正文概述    2024-04-13 13:54:43  

    飚升上轨:MA(C,14)*1.1,COLOR0080FF,POINTDOT,LINETHICK4;

    超跌轨:MA(C,14)*0.9,,POINTDOT,COLORGREEN,LINETHICK4;

    飚升下轨:飚升上轨-(飚升上轨-超跌轨)*0.191,COLORYELLOW,,POINTDOT,LINETHICK4;

    趋势轨:=飚升上轨-(飚升上轨-超跌轨)*0.618,COLORWHITE,CIRCLEDOT;

    赢:=MA(C,1);

    在:=SMA(SMA(SMA(赢,2,1),2,1),2,1);

    龙:=MA(在,3);


    赢在龙头:=(L+H+C*4)/6;

    趋势轨①:EMA(赢在龙头,12),NODRAW;

    趋势轨②:EMA(赢在龙头,19),NODRAW;

    趋势轨③:IF(L 在,在,龙),NODRAW;

    赢在:=(趋势轨①-REF(趋势轨①,1))/REF(趋势轨①,1)*100;

    龙头:=(趋势轨②-REF(趋势轨②,1))/REF(趋势轨②,1)*100;

    G:=BARSLAST(CROSS(赢在,0))+1;

    止损线A:REF(L,G),NODRAW;

    止损线B:REF(止损线A,BARSLAST(止损线A REF(止损线A,1) OR 止损线A REF(止损线A,1))+1),NODRAW;

    上趋势:=MA(LOW,20)*1.2;

    次上趋势:=MA(LOW,20)*1.1;

    次下趋势:=MA(HIGH,20)*0.9;

    下趋势:=MA(HIGH,20)*0.8,COLORGREEN;

    ZD:=(C-REF(C,1))/REF(C,1)*100;

    HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));

    趋势强度:IF(C 次上趋势,IF(C 上趋势,4,3),IF(C 次下趋势 AND C 次上趋势,2,IF(C 下趋势,0,1))),NODRAW;

    趋势①拐点:CROSS(赢在,0),NODRAW;

    趋势②拐点:CROSS(龙头,0),NODRAW;

    趋势③拐点:CROSS(在,龙),NODRAW;

    趋势①持仓:赢在 =0,NODRAW;

    趋势②持仓:龙头 =0,NODRAW;

    趋势③持仓:在 =龙,NODRAW;

    上涨斜率:(趋势轨①-止损线A)/止损线A*100,NODRAW;

    超短:=CROSS(超跌轨*1.01,L) AND H =REF(L,1);

    狙击手:超短 AND 趋势强度=3 OR (超短 AND COUNT(超短,BARSLAST(趋势强度=3))=1 AND C MIN(止损线A,止损线B)),NODRAW;


    换手:=V*100/CAPITAL;

    主力:=MA(换手,4);

    周期:=13;

    大户:=MA(换手,9);

    中户:=MA(换手,17);

    散户:=MA(换手,34);

    均量:=(主力+大户+中户+散户)/4;

    机构意愿:=(主力-均量);

    游资意愿:=(大户-均量);

    大户意愿:=(中户-均量);

    散户意愿:=(散户-均量);

    VAR1:=(C-MA(C,6))/MA(C,6)*100;

    VAR2:=(C-MA(C,24))/MA(C,24)*100;

    VAR3:=(C-MA(C,32))/MA(C,32)*100;

    VAR4:=(VAR1+VAR2+VAR3)/3;

    VAR5:=EMA(VAR4,5);

    VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;

    VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

    VAR8:=VAR7 REF(VAR7,1) AND V REF(V,1) AND C REF(C,1);

    K:=EMA(VAR5,5)*4;

    D:=EMA(K,5);

    J:=K*3-D*2;

    BHG:=LLV(VAR6,3) VAR6 AND J D AND VAR8 0 OR (LLV(VAR6,3) VAR6 AND J D AND C 飚升上轨);

    MA1:=MA(VOL,5);

    MA2:=MA(VOL,40);

    缩量现象:=MA1

    SC:=100*(CLOSE-MA(CLOSE,80));

    多方线:=EMA(SC,5);增强线:=EMA(SC,21);

    空翻多:=BHG AND 散户意愿 0 AND 大户意愿 0 AND COUNT(缩量现象,周期) =1 AND 多方线 0 AND 增强线 -100 OR

    (BHG AND 散户意愿 0 AND 大户意愿 0 AND COUNT(缩量现象,周期) =1 AND COUNT(多方线 -100,BARSLAST(CROSS(增强线,多方线)))=0);

    推土机:=趋势①拐点 AND 散户意愿 0 AND 大户意愿 0 AND 止损线A REF(止损线A,1),NODRAW;

    顺大势:=趋势①拐点 AND NOT(散户意愿 0 AND 大户意愿 0) AND (机构意愿 0 OR 机构意愿 0) AND 止损线A REF(止损线A,1),NODRAW;

    步步高:=趋势①拐点 AND 机构意愿 0 AND 止损线A REF(止损线A,1),NODRAW;

    借东风:=趋势①拐点 AND 机构意愿 0 AND 止损线A REF(止损线A,1);


    STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;

    STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;

    STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;

    STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;

    STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;


    STICKLINE(C =O,C,O,3,0),COLOR0000CC ;

    STICKLINE(C =O,C,O,2,0),COLOR0000EE;

    STICKLINE(C =O,H,L,0,0),COLOR0000FF;

    STICKLINE(C =O,C,O,3,0),COLORA8A800;

    STICKLINE(C =O,C,O,2,0),COLORCECE00;

    STICKLINE(C =O,H,L,0,0),COLORFFFF00;


    IF(龙头 =0,趋势轨②,DRAWNULL),COLORMAGENTA,LINETHICK2;

    IF(龙头 0,趋势轨②,DRAWNULL),COLORBLUE,LINETHICK2;

    IF(赢在 =0,趋势轨①,DRAWNULL),COLOR0000FF,LINETHICK2;

    IF(赢在 0,趋势轨①,DRAWNULL),COLORGREEN,LINETHICK2;

    IF(赢在 0,REF(L,G),DRAWNULL),COLORRED,POINTDOT,LINETHICK4;

    IF(赢在 0,REF(L,G),DRAWNULL),COLORGREEN,POINTDOT,LINETHICK4;

    DRAWICON(狙击手,L*0.95,17);

    DRAWTEXT(狙击手,L*0.95,' 狙击手'),COLORYELLOW;

    DRAWICON(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1,L*0.95,9);

    DRAWICON(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1 AND VAR8 0,L,14);

    DRAWTEXT(空翻多 AND COUNT(空翻多,BARSLAST(趋势①拐点))=1,L*0.95,' 空翻多'),COLORWHITE;

    DRAWICON(推土机,L*0.95,13);

    DRAWTEXT(推土机,L*0.95,' 推土机'),COLORMAGENTA;

    DRAWICON(顺大势,L*0.95,23);

    DRAWTEXT(顺大势,L*0.95,' 顺大势'),COLORCCCCCC;

    DRAWICON(步步高,L*0.95,15);

    DRAWTEXT(步步高,L*0.95,' 步步高'),COLORCYAN;

    DRAWICON(借东风,L*0.95,18);

    DRAWTEXT(借东风,L*0.95,' 借东风'),COLORGREEN;

    VAR0:=(C+H+O+L)/4;

    卖出:=XMA(VAR0,20)*(1+80/1000);

    买入:=XMA(VAR0,32)*(1-100/1000);

    DRAWICON(CROSS(买入,LOW),L*0.98,11);

    DRAWICON(CROSS(HIGH,卖出),H*1.02,12);

    通达信主图东风狙击手公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主图东风狙击手公式源码 加入收藏