以下是通达信斗牛绝技指标公式源码和使用说明

通达信斗牛绝技指标公式源码:

   Ema13:=EMA(C,13);

   EMA30:EMA(C,30),COLORFFCCCC;

   EMA60:EMA(C,60),COLORFF00FF;

   EMA90:EMA(C,90),COLORYELLOW;

   EMA120:EMA(C,120),COLORFFCC66;

   EMA250:EMA(C,250),COLORBLUE;

   F1:=EMA30-EMA60<130/1000ANDEMA30-EMA90<230/1000ANDEMA30-EMA120<330/1000;

   F2:=EMA60-EMA30<130/1000ANDEMA60-EMA90<230/1000ANDEMA60-EMA120<330/1000;

   F3:=EMA90-EMA30<130/1000ANDEMA90-EMA60<230/1000ANDEMA90-EMA120<330/1000;

   F4:=EMA120-EMA30<130/1000ANDEMA120-EMA60<230/1000ANDEMA120-EMA90<330/1000;

   F5:=EMA30-EMA60<100/1000ANDEMA30-EMA90<200/1000;

   FF1:=F1ANDF2ANDF3ANDF4ANDcrOSS(EMA30,EMA60);

   FF2:=F1ANDF2ANDF3ANDF4ANDCROSS(EMA(C,13),EMA30);

   FF3:=F5ANDC>EMA250ANDCROSS(EMA30,EMA60);

   G1:=EMA60-EMA90<220/1000ANDEMA60-EMA120<320/1000ANDEMA60-EMA250<420/1000;

   G2:=EMA90-EMA30<220/1000ANDEMA90-EMA60<320/1000ANDEMA90-EMA250<420/1000;

   G3:=EMA120-EMA60<220/1000ANDEMA120-EMA90<320/1000ANDEMA120-EMA250<420/1000;

   G4:=EMA250-EMA60<220/1000ANDEMA250-EMA90<320/1000ANDEMA250-EMA120<420/1000;

   GG1:=G1ANDG2ANDG3ANDG4ANDCROSS(EMA13,EMA30);

   GG2:=G1ANDG2ANDG3ANDG4ANDCROSS(EMA30,EMA60);

   DRAWICON(FF1ORFF2ORFF3ORGG1ORGG2,L-0.1,9);

   VAR2:=REF(LOW,1);

   VAR3:=SMA(Abs(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;

   VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);

   VAR5:=LLV(LOW,34);

   VAR6:=HHV(VAR4,34);

   VAR7:=IF(LLV(LOW,55),1,0);

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

   VAR9:=EMA(CLOSE,5);

   VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

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

   VAR12:=EMA(CLOSE,5)*(-1);

   STICKLINE(VAR8>REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;

   备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;

   STICKLINE(VAR11>REF(VAR11,1),0,VAR11,6,1),COLORFFF810;

   界:0,COLORFFFFFF,LINETHICK1;

   XL1:=MA(LOW,2)*0.96;

   XL2:=MA(LOW,26)*0.85;

   XL3:=REF(XL1,1)<XL2ANDREF(XL1,1)<XL1ANDREF(XL1,1)<REF(XL1,2);

   STICKLINE(XL3,0,VAR8*3,8,0),COLORRED;

   启动:IF(XL3,0,VAR8*3),COLORRED;

   VA:=(2*C+H+L)/4;

   VB:=LLV(L,5);

   VC:=HHV(H,5);

   红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;

   红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;

   散户:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);

   庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);

   DRAWTEXT(crOSS(散户,庄家)AND散户<30,5,’低进’),COLOR00FF00;

   DRAWTEXT(CROSS(散户,庄家)AND散户<30,7,’●’),COLORFFFFFF;

   DRAWTEXT(CROSS(庄家,散户)AND散户>70,18,’高出’),COLOR00FF00;

   DRAWTEXT(CROSS(庄家,散户)AND散户>70,21,’●’),COLOR00FF00;

   极品底:IF((MA(C,5)-C)/C>0.04AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF;

   DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;

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

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

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

   J:=3*K-2*D;

   X:=LLV(J,2)=LLV(J,8);

   DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDXANDJ<19,3,’低进’),COLORFFFF00;

   DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDXANDJ<19,7,’▲’),COLORRED;

   DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDXANDJ<19,6,’▲’),COLORRED;

   DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDXANDJ<19,5,’↑’),COLORRED;

   QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

   QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

   QVAR1C:=SMA(QVAR1B,13,8);

   QVAR1D:=SMA(QVAR1A,21,8);

   机会来临:=SMA(QVAR1C,13,8),COLORRED;

   T1B:=CONST(LLVBARS(LOW,10));

   T1HIGH:=CONST(REF(HIGH,T1B));

   CC:=CONST(CURRBARSCOUNT);

   T2B:=CONST(BARSLAST(CURRBARSCOUNT>CC+T1BANDH>T1HIGH));

   T2HIGH:=CONST(REF(HIGH,T2B));

   T3:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2BANDHIGH>T2HIGH));

   T3HIGH:=CONST(REF(HIGH,T3));

   必杀线:=DRAWLINE(CURRBARSCOUNT=T3+1,T3HIGH,ISLASTBAR,T3HIGH,1),COLORRED;{,LINETHICK2,COLOR0000FF;}

   MA5K:=必杀线,COLORYELLOW,NODRAW;

   短线:=EMA(C,7),COLORCYAN;

   绝技:=ATAN((短线/REF(短线,2)-1)*100)*180/3.1416;

   必杀绝技:绝技AND必杀线AND绝技>必杀线;

   JDZ:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));

   JXZ:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));

   SXSL:=JDZ/JXZ<1.015;

   杀:REF(EVERY(SXSL,5),1)ANDC>REF(HHV(C,5),1)AND必杀绝技;

   W1:=C=HHV(C,20);

   W2:=BARSLAST(W1);

   W3:=IF(W2>0,REF(C,W2),REF(C,W2));

   W4:=CROSS(C,REF(W3,1));

   绝:W4ANDCOUNT(W4,5)=1AND杀;

通达信斗牛绝技指标公式截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。