最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信天地双龙(飞龙在天)波段金龙副图指标源码分享

    正文概述    2024-05-04 03:57:26  

    公式解读:


    通达信指标公式源码:


       N:=8;

       M:=13;

       P:=60;

       S:=3;

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

       V2:=EMA(V1,13)-EMA(V1,34);

       V3:=EMA(V2,5);

       V4:2*(V2-V3)*5.5;

       超大吃:IF(V4 =0,V4,0),COLOR7F00FF,LINETHICK2;

       超大主力吐:IF(V4 =0,V4,0),COLOR66FF00,LINETHICK1;

       V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

       V6:=EMA(3*V5-2*SMA(V5,18,1),5);

       V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

       V8:=(INDEXC*2+INDEXH+INDEXL)/4;

       V9:=EMA(V8,13)-EMA(V8,34);

       VA:=EMA(V9,3);

       VB:=(V9-VA)/2;

       主力吃货线:8,COLORFF80FF,LINETHICK2,CROSSDOT;

       DH:=REF(HHV(H,10),2);

       DC:=REF(HHV(MAX(C,O),10),2);

       XGDH:CROSS(C,DH)ANDCROSS(超大主力吃,8);

       XGDC:CROSS(C,DC)ANDCROSS(超大主力吃,8);

       STICKLINE(XGDHORXGDC,0,8,2,0),COLOR3131FF;

       倍量吃货:(XGDHORXGDC)ANDV/REF(V,1) 1.95,COLORYELLOW;

       STICKLINE(倍量吃货,0,-8,5,0),COLORYELLOW;

       {出现}

       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;

       J1:=REVERSE(J);

       AA:=REF(MA(C,1),10) REF(MA(C,60),10);

       买点:CROSS(J,J1)ANDAA;

       STICKLINE(买点,0,30,6,0),COLORBLUE;

       STICKLINE(买点,30,60,4,0),COLORWHITE;

       STICKLINE(买点,60,80,2,0),COLORYELLOW;

       DRAWTEXT(买点,70,'庄家出现'),COLORRED;

       {主力进出场}

       VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

       VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

       VAR3:=EMA(VAR2,10);

       VAR4:=LLV(LOW,33);

       VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3);

       主力进场:IF(VAR5 REF(VAR5,1),VAR5,0),COLORRED,NODRAW;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLORRED;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR000055;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR000077;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR000099;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF;

       洗盘:IF(VAR5 REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLORGREEN;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,3,0),COLOR005500;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;

       STICKLINE(VAR5 REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;

       VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);

       VAR13:=EMA(VAR12,10);

       VAR14:=HHV(H,33);

       VAR15:=EMA(IF(H =VAR14,VAR13,0),3);

       冲顶:IF(VAR15 REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLOR550055;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.6,0),COLOR770077;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.1,0),COLOR990099;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,1.5,0),COLORBB00BB;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.9,0),COLORDD00DD;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.3,0),COLORFF00FF;

       主力出场:IF(VAR15 REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLORYELLOW;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,3,0),COLOR005555;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,2.6,0),COLOR007777;

       STICKLINE(VAR15 REF(VAR5,1),0,VAR15,2.1,0),COLOR009999;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD;

       STICKLINE(VAR15 REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF;

       A1:=REF(CLOSE,2);

       A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;

       波段介入点:IF(A2 19,19,0)COLORWHITE;

       {主力潜伏}

       N1:=8;

       MTM:=C-REF(C,1);

       ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORYELLOW;{N1=9}

       DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

       DEA:=EMA(DIFF,9);

       MACD:=2*(DIFF-DEA);

       主力潜伏:COUNT(MACD 0,10)=10,COLORCYAN;

       STICKLINE(主力潜伏,0,MACD*(-0.1),2.8,0),LINETHICK6,,COLORCYAN;

       DRAWICON(主力潜伏,MACD*(-0.18),28);

       DRAWICON(主力潜伏,MACD*(-0.1),26);

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

       A2:=BARSLAST(A1),NODRAW;

       A3:=A2 =1ANDA2

       A4:=C OAND(H-C) (O-L);

       A5:=C OAND(H-O) (C-L);

       A6:=A4ORA5;

       A7:=MA(CLOSE,25)+MA(CLOSE,25)*13/100;

       A8:=C/A7 =1.05;

       选股:A3ANDA6ANDC A7ANDA8;

       DRAWGBK(O C,RGB(160,32,240),RGB(56,94,15),0,'背景图',0);

       A01:=(WINNER((CLOSE*1))*100.000);

       A02:=(WINNER((CLOSE*1.1))*100.000);

       A03:=(WINNER((CLOSE*0.9))*100.000);

       A04:=MA(A03,5);

       A06:=(100-MA(A02,5));

       {STICKLINE(1,A06,MA(A02,5),2,1),COLORGREEN;}

       A08:=(MA(A02,5)-MA(A03,5));

       {STICKLINE(1,A04,MA(A02,5),2,1),COLORYELLOW;}

       A0A:=(((((HHV(A04,15)-A03)/A03)*100) 30)AND(HHV(A04,15) 50));

       STICKLINE(A0A,(0-2),2,2,1);

       STICKLINE(NOT(A0A),(0-2),2,2,1),COLORBLUE;

       STICKLINE(A03 REF(A03,1),0,A03,2,0),COLORRED;

       STICKLINE(A03 REF(A03,1),0,A03,2,1),COLORRED;

       获利:=MA(A03,1),COLORMAGENTA,DOTLINE;

       :MA(A03,10),COLORMAGENTA,LINETHICK2;

       套牢:=100-A02,COLORLIBLUE,DOTLINE;

       :(100.000-MA(A02,10)),COLORLIBLUE,LINETHICK2;

       浮动:=A02-A03,COLORLIRED,DOTLINE;

       游资:(MA(A02,10)-MA(A03,10)),COLORLIRED,LINETHICK2;

       STICKLINE(1,100,100,5,1),COLORGREEN;



    [源码注释]通达信公式动态公式解读

    输出XG:最低价 1日前的最高价并且1日前的收盘价/1日前的收盘价 1.095并且收盘价=最高价





    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信天地双龙(飞龙在天)波段金龙副图指标源码分享 加入收藏