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

    正文概述    2024-05-04 04:39:50  

    以下是通达信四边形擒牛指标公式源码


    通达信四边形擒牛指标公式源码:

       A:70;

       B:90;

       线:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;

       趁火打劫:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),NODRAW;

       DRAWBAND(波段线,RGB(150,030,030),趁火打劫,RGB(20,150,20));

       IF(波段线 =趁火打劫,波段线,DRAWNULL),colorlimagenta,LINETHICK2;

       IF(波段线 趁火打劫,波段线,DRAWNULL),colorgreen,LINETHICK2;

       M1:=EMA(MA(波段线,5),3);

       STICKLINE(波段线 100AND波段线 =M1,波段线,100,3,1),COLORF0F000;

       STICKLINE(波段线 0AND波段线 =M1,波段线,0,3,1),colorligray;

       底部买:=LLV(波段线,2)=LLV(波段线,8);

       买进:=IF(CROSS(波段线,REF(波段线+0.01,1))AND底部买AND波段线 0,20,0);

       STICKLINE(波段线 0AND波段线 M1,买进,0,1,0),COLORFF6699;

       VAR1:=REF(LOW,1);

       VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;

       VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);

       VAR4:=LLV(LOW,38);

       VAR5:=HHV(VAR3,38);

       VAR6:=IF(LLV(LOW,90),1,0);

       VAR7:=EMA(IF(LOW =VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;

       VAR71:=IF(VAR7 =100,100,VAR7);

       吸货:VAR71,COLOR0000FF;

       STICKLINE(VAR71,0,VAR71,6,0),COLOR0000FF;

       STICKLINE(VAR71,0,VAR71,5,0),COLOR6600FF;

       STICKLINE(VAR71,0,VAR71,4,0),COLORBB00FF;

       STICKLINE(VAR71,0,VAR71,3,0),COLORFF00FF;

       STICKLINE(VAR71,0,VAR71,2,0),COLORFF33FF;

       STICKLINE(VAR71,0,VAR71,1,0),COLORFF66FF;

       STICKLINE(VAR71,0,VAR71,0,0),COLORFF99FF;

       MA5:=MA(CLOSE,5);

       MA15:=MA(CLOSE,15);

       MA30:=MA(CLOSE,30);

       MA60:=MA(CLOSE,60);

       离散量30:=100*(MA5-(MA15+MA30)/2)/MA30+50,COLOR00FFFF;

       离散量60:100*(MA5-(MA15+MA30+MA60)/3)/MA60+50,COLORFFAA00;

       粘合K:-3*(离散量30-离散量60)+50,colorred,LINETHICK2;

       粘合D:=EMA(粘合K,3);

       主升:BARSLAST(CROSS(粘合K,粘合D))*(粘合K 粘合D),colorlimagenta;

       STICKLINE(粘合K 108,105,粘合K,5,1),colorgreen;

       STICKLINE(主升,主升,主升+2,4,1),colorlimagenta;

       DRAWICON(CROSS(离散量60,粘合K),离散量60*1.05,1);

       DRAWICON(CROSS(粘合K,离散量60),离散量60*0.98,2);

       隔岸观火:VAR5,COLOR0000FF,NODRAW;

       关门捉贼:IF(趁火打劫 =10,30,0),COLORFFFF00,NODRAW;

       擒贼擒王:IF(CROSS(趁火打劫,2),40,0),COLORFF0000,NODRAW;

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

       K:=SMA(RSV,3,1);

       D:=SMA(K,3,1);

       买入:=(CROSS(K,D)ANDK

       买:=买入ANDFILTER(买入,10);

       STICKLINE(CROSS(趁火打劫,2),0,15,1,0),colorwhite;

       STICKLINE(趁火打劫 =10,0,8,2,0),colorligreen;

       STICKLINE(波段线 0AND波段线 M1,买进,0,4,0),colorFF9900;

       DRAWICON(买AND趁火打劫 10,10,9);

       DRAWTEXT(买AND趁火打劫 10,-1,'钱袋');

       DRAWICON(CROSS(趁火打劫,11),-3,23);

       XG:=LAST(趁火打劫 REF(趁火打劫,1),2,1)AND趁火打劫 REF(趁火打劫,1)AND趁火打劫

       DRAWICON(XG,-11,11);

       MA5:=MA(C,5);

       MA10:=MA(C,10);

       MA20:=MA(C,20);

       MA60:=MA(C,60);

       MM:=MIN(MA5,MA60);

       MM2:=MIN(MA10,MA60);

       SS:DRAWBAND(MM,RGB(250,0,250),MM2,0);

       HM:=MAX(MA5,MA60);

       HM2:=MAX(MA10,MA60);

       {DRAWBAND(HM2,RGB(0,255,190),HM,0);}

       DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

       KK:=MIN(MA5,MA20);

       KK2:=MIN(MA10,MA20);

       DRAWBAND(KK,RGB(0,255,190),KK2,0);

       MA(C,5);

       MA(C,10);

       MA(C,20);

       MA(C,60);

       上线:=SMA(C,6.5,1);

       下线:=Sma(C,13.5,1);

       上线1:=SMA(C,3,1);

       下线1:=SMA(C,8,1);

       stICKLINE(上线 下线,上线,下线,2.5,0),COLORRED,LINETHICK2;

       STICKLINE(下线 上线,上线,下线,2.5,0),COLORYELLOW,LINETHICK2;

       DRAWTEXT(crOSS(上线,下线),LOW*0.98,'全仓买'),COLOR00FF00;

       DRAWTEXT(CROSS(下线1,上线1),H*1.02,'清仓'),COLORYELLOW;

       bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

       UPR:=BBI+3*STD(BBI,13),LINETHICK2;

       DWN:=BBI-3*STD(BBI,13);

       安全:=MA(CLOSE,60),LINETHICK2;

       LC:=REF(CLOSE,1);

       :=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;

       DRAWTEXT(CROSS(82,RSI),HIGH*1.02,'减仓'),COLORFF9966,LINETHICK2;

       操作:MA(A7,5),LINETHICK2;

       操作1:=MA(A7,5)*1.03,LINETHICK2;

       操作2:=MA(A7,5)*0.97,LINETHICK2;

       VAR1:LLV(A7,21);

       VAR2:HHV(A7,21);

       SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);

       SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);

       DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),8)/8 6/10AND =1.5*MA(VOL,5)AND

       COUNT(SK =SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进'),COLOR0099FF;

       DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10AND

       COUNT(SK SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE =OPEN,4)AND

       REF(CLOSE OPEN,3)ANDREF(CLOSE OPEN,2)ANDREF(OPEN CLOSE,1)AND

       OPEN REF(CLOSE,1),1,0),LOW*0.98,'买进'),COLORYELLOW;

       D:=MA(CLOSE,80)-MA(CLOSE,10)/3;

       DRAWTEXT(IF(CLOSE DANDVOL/240 MA(VOL,5)/240ANDCLOSE REF(CLOSE,1)*1.08

       ANDCLOSE MA(CLOSE,13)*1.3,1,0),LOW*0.98,''),COLORYELLOW;

       A:=(LOW+HIGH+CLOSE+OPEN)/3.82;

       :HHV((MA(A,6)),15),COLORYELLOW,LINETHICK2;

       DRAWTEXT(CROSS(C,突破),L*0.95,'★'),COLORMAGENTA;

       擒:=(2*CLOSE+LOW+HIGH)/4;

       牛:=EMA(擒,40)*0.85;

       DI:=EMA(C,12)-EMA(C,13);

       DE:=EMA(DI,3);

       RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

       DRAWTEXT(CROSS(DE,DI),H*1.03,'S'),COLOR00FF00;

       拉升:EMA(CLOSE,5),COLORRED;

       跟进:EMA(CLOSE,20),COLORGREEN;

       DRAWTEXT(CROSS(DI,DE),L*0.94,'B'),COLORFF33FF;




    通达信四边形擒牛指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信四边形擒牛指标公式 加入收藏