最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信超级短线波段买卖指标公式

    正文概述    2024-05-04 04:36:33  

    以下是通达信超级指标公式源码和使用说明


    通达信超级短线波段买卖指标公式源码:

       VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);

       VAR2:=HIGH-REF(HIGH,1);

       VAR3:=REF(LOW,1)-LOW;

       VAR4:=SUM(IF(VAR2 0ANDVAR2 VAR3,VAR2,0),25);

       VAR5:=SUM(IF(VAR3 0ANDVAR3 VAR2,VAR3,0),25);

       VAR6:=VAR4*100/VAR1;

       VAR7:=VAR5*100/VAR1;

       VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);

       VAR9:=(VAR8+REF(VAR8,15))/2;

       A:=(VAR7 VAR6ANDVAR7 25ANDVAR6

       B:ZIG(3,50/5)*100,colorwhite;

       G:MA(B,2),coloryellow;

       D:=CROSS(B,G)*1000,colorred;

       W:=CROSS(G,B)*1000,colorblue;

       E:=REF(INDEXC,1);

       F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);

       VAR10:=FANDF

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

       VAR12:=SMA(VAR11,3,1);

       VAR13:=SMA(VAR12,3,1);

       VAR14:=VAR13ANDVAR13

       MM:=AANDDANDVAR10ANDVAR14;

       DRAWTEXT(W=1000,B*1.05,'卖'),COLOR00FF00;

       DRAWTEXT(D=1000,B*1.05,'买'),colorred;

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

       VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;

       VAR4:=EMA(VAR3,5);

       VAR5:=3*VAR3-2*VAR4;

       AA:=CROSS(VAR5,VAR3)ANDVAR3 1.1ANDC

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

       VAR7:=LLV(LOW,13);

       VAR8:=HHV(HIGH,13);

       VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);

       VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);

       多:VAR9,COLORRED,POINTDOT;

       空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12);

       STICKLINE(VAR9 VARA,VAR9,VARA,6,0),COLORRED;

       STICKLINE(VAR9 =VARA,VAR9,VARA,6,0),COLORFFCC66;

       STICKLINE(AA,0,30,10,0),COLORRED;

       DRAWTEXT(AA,35,'底');

       STICKLINE(CROSS(VAR3,VAR5)ANDVAR3 2.6,90,60,10,0),COLORBLUE;

       DRAWTEXT(CROSS(VAR3,VAR5)ANDVAR3 2.6,98,'顶'),COLORBLUE;

       必买:IF(TROUGHBARS(3,6,1)=0ANDHIGH LOW+0.01,1,-6),COLOR30CC00,LINETHICK3;

       必卖:IF(PEAKBARS(3,6,1)=0,60,84),COLOR0099FF,LINETHICK2;

       Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

       Q3:=SMA(Q2,9,1);

       Q4:=SMA(Q3,3,1);

       长:3*Q3-2*Q4,COLORMAGENTA,LINETHICK2;

       趋势线:EMA(Q3,3),COLORWHITE,LINETHICK3;

       DRAWTEXT(CROSS(趋势线,长趋势)ANDREF(长趋势,1) 80,REF(长趋势,3),'*

       顶'),COLORYELLOW,LINETHICK5;

       ☆见底啦:DRAWTEXT(REF(CROSS(趋势线,长趋势),84)AND

       趋势线 1.3*长趋势,长趋势,'☆←见底啦'),COLORBLUE,LINETHICK1;

       ★低买:DRAWTEXT(REF(CROSS(长趋势,趋势线),1)

       AND长趋势 1.3*趋势线,趋势线,'★低买'),COLORCYAN,LINETHICK2;

       N:=10;

       量:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;

       量1:=EMA(量,3);

       量2:=EMA(量,5);

       量3:=EMA(量,7);

       Y:=MA(量1,6);

       Y1:=MA(Y,2);

       Y2:=MA(Y,4);

       Y3:=MA(Y,6);

       强弱分界:(Y1+Y2+Y+Y3)/4,COLORGREEN,LINETHICK2;

       IF(强弱分界 量3,强弱分界,DRAWNULL),COLORRED,LINETHICK2;

       STICKLINE(量1 =量2,量3,量1,2,0),COLOR000055;

       STICKLINE(量1 =量2,量3,量1,1.8,0),COLOR0000BB;

       STICKLINE(量1 =量2,量3,量1,1.4,0),COLOR0000CC;

       STICKLINE(量1 =量2,量3,量1,1,0),COLOR0000DD;

       STICKLINE(量1 =量2,量3,量1,0.5,0),COLOR0000FF;

       STICKLINE(量1 =量2,量3,量1,2,0),COLOR000055;

       STICKLINE(量1 =量2,量3,量1,1.8,0),COLORFF3300;

       STICKLINE(量1 =量2,量3,量1,1.4,0),COLORFF5500;

       STICKLINE(量1 =量2,量3,量1,1,0),COLORFF7700;

       STICKLINE(量1 =量2,量3,量1,0.5,0),COLORFF9900;

       T1:=量2 =量3AND量1 REF(量1,1);

       T2:=量2 量3AND量1 REF(量1,1);

       STICKLINE(T1,量1,量3,2,0),COLORFFBB11;

       STICKLINE(T1,量1,量3,1.8,0),COLORFFCC22;

       STICKLINE(T1,量1,量3,1.4,0),COLORFFDD33;

       STICKLINE(T1,量1,量3,1,0),COLORFFEE44;

       STICKLINE(T1,量1,量3,0.5,0),COLORFFFF55;

       STICKLINE(T2,量1,量3,2,0),COLOR338FDD;

       STICKLINE(T2,量1,量3,1.8,0),COLORFF00FF;

       STICKLINE(T2,量1,量3,1.4,0),COLOR00DDFF;

       STICKLINE(T2,量1,量3,1,0),COLOR00AAFF;

       STICKLINE(T2,量1,量3,0.5,0),COLOR00BBFF;

       大涨:=CLOSE/REF(CLOSE,1) =1.09OR((H-L)/REF(C,1) 0.1ANDC=H),LINETHICK0,COLOR00FFFF;

       STICKLINE(大涨,量1,量3,2,0),COLOR00FFFF;

       大跌:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1) -0.098OR((H-L)/REF(C,1) 0.1ANDC=L),LINETHICK0,COLOR00FF00;

       STICKLINE(大跌,量1,量3,2,0),COLOR00FF00;

       HH:=HHV(量1,N);

       LL:=LLV(量1,N);

       LC:=REF(C,1);

       CCI:=((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,COLORFFCCCC;

       RSI:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,COLORCC9900;

       低0:=IF(LLV(CCI,10) 0ANDLLV(RSI,10) 0ANDC=LLV(C,10)ANDL=LLV(L,10),40,0);

       低:=IF(FILTER(低0=40,5),50,0);

       DRAWICON(低=50,量1-0.05,9);

       A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);

       线:=EMA(A1,5),LINETHICK2,COLOR6600FF;

       A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;

       A3:=EMA(C,5);

       A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

       趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;

       A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;

       DRAWTEXT(FILTER(REF(黑马线,1) 90ANDA2 0,7),量1+0.5,'跑'),COLOR00FF00;

       DRAWTEXT(CROSS(A1,黑马线)AND黑马线 A5,量3-1.5,'21D');

       P1:=20,32,28;

       P2:=32,35,32;

       P3:=35,38,35;

       VARA2:=LLV(LOW,10);

       VARA3:=HHV(HIGH,25);

       警戒线1:=P1/10;

       减仓线1:=P2/10;

       卖出线1:=P3/10;

       动力线1:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);

       警惕:IF(CROSS(动力线1,警戒线1),量2+3,DRAWNULL),POINTDOT,LINETHICK5,COLORF00FF0;

       逢高减磅:IF(CROSS(动力线1,减仓线1),量2+2,DRAWNULL),POINTDOT,LINETHICK5,COLORF0F000;

       NG1:=20;

       VARG2:=((3*SMA((((CLOSE-LLV(LOW,NG1))/(HHV(HIGH,NG1)-LLV(LOW,NG1)))*100),5,1))-(2*SMA(SMA((((CLOSE-LLV(LOW,NG1))/(HHV(HIGH,NG1)-LLV(LOW,NG1)))*100),5,1),3,1)));

       秘密买点:IF((VARG2 =3),量2+5,强弱分界),COLORWHITE;

       绝密买点:IF((VARG2 =0),量2+4,强弱分界),COLORRED;

       STICKLINE(VARG2 0,量2,量2+4,0.5,0),COLORRED;

       FFF:=REF((H-MAX(C,O))/ABS(C-O) 2ANDC O,1)AND((MIN(C,O)-L)/ABS(C-O) 2ANDC

       抄点:STICKLINE(FFF,0,10,3,0),COLORLICYAN;




    通达信超级短线波段买卖指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超级短线波段买卖指标公式 加入收藏