联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

通达信主力进场副图源码

2016-10-14 22:29:44点击:

STICKLINE(100,100,0,5,0),COLOR666600;
想你:=REF(CLOSE,2); 
恨你:=SMA(MAX(CLOSE-想你,0),7,1)/SMA(ABS(CLOSE-想你),7,1)*100,COLORFFAA66; 
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; 
Q3:=SMA(Q2, 9, 1); 
Q4:=SMA(Q3, 3, 1); 
Q8:=HHVBARS(HIGH, 50); 
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100; 
爱你:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
〓顶〓: IF(恨你< REF(恨你,1) AND 恨你>79,85,100),LINETHICK2; 
分水岭:=EMA(Q3, 3),COLORBLUE,LINETHICK2; 
※做多※:3*Q3-2*Q4,COLORRED,LINETHICK3; 
△做空△:SMA(爱你,3,1),COLORBLUE,LINETHICK2;
DRAWTEXT(CROSS(※做多※, 8) AND Q10<-13,20,'*大底来');
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),21,'★<-极品绝底');

N:=9; M1:=3;M2:=3;P:=9;{以上是背景}
条件1:=C>=REF(C,1);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
STICKLINE(VAR9>-120,0,VAR9,3.0,0),COLOR000055;
STICKLINE(VAR9>-120,0,VAR9,2.6,0),COLOR000077;
STICKLINE(VAR9>-120,0,VAR9,2.1,0),COLOR000099;
STICKLINE(VAR9>-120,0,VAR9,1.5,0),COLOR0000BB;
STICKLINE(VAR9>-120,0,VAR9,0.9,0),COLOR0000DD;
STICKLINE(VAR9>-120,0,VAR9,0.2,0),COLORCC66FF;
【庄家介入】:IF(VAR9>-120,VAR9,0),COLORRED,NODRAW;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
慢线:=SMA(快线,M1,1);
空:=SMA(慢线,M2,1);
牛股:=IF(BARSLAST(CROSS(慢线,空))<P AND CROSS(慢线,空) AND 慢线<=20,90,0);
BB:=IF((BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<=21 AND 条件1) OR 牛股 ,20,0);
BOLL:=MA(CLOSE,21);
BOLL下轨:=BOLL-2*STD(CLOSE,21);
轨道线下轨:=(1-8/100)*MA(CLOSE,21);
け:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); 
こ:=DMA(CLOSE,け); 
薛斯通道4:=(1-8/100)*こ;
散户动向:=100*(C-LLV(L,8))/(HHV(C,8)-LLV(L,8)),COLORWHITE,LINETHICK2;
中户动向:=100*(C-LLV(L,13))/(HHV(C,13)-LLV(L,13)),COLORGREEN;
大户动向:=100*(C-LLV(L,21))/(HHV(C,21)-LLV(L,21)),COLORMAGENTA,LINETHICK2;
主力动向:=100*(C-LLV(L,44))/(HHV(C,44)-LLV(L,44)),COLORRED,LINETHICK4;
弱势区:=20.POINTDOT,COLORGRAY,LINETHICK2;
强势区:=80.POINTDOT,COLORLIMAGENTA,LINETHICK2;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
TAI1:=REF(CLOSE,2); 
TAI2:=SMA(MAX(CLOSE-TAI1,0),7,1)/SMA(ABS(CLOSE-TAI1),7,1)*100,COLORFFAA66; 
邰1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
邰2:=8;★股市黑客:=MA(C,1)/MA(REF(C,13),8)*100;★炒股生活:=MA(FORCAST(★股市黑客,21),3);
CC:=CROSS(邰1,邰2) AND ★股市黑客>=★炒股生活AND ★股市黑客<=105 AND ★炒股生活<=99;
CC1:=CROSS(★股市黑客,★炒股生活) AND ★股市黑客<=105 AND ★炒股生活<=99;
★股价趋势:=(EMA(CS,3)-50)*2,LINETHICK3,COLORBROWN;{逃顶}
¥①:IF(CC AND CC1,34,0),LINETHICK3,COLORWHITE;
¥②:IF(BB>0,63,0),LINETHICK3,COLORLICYAN;
¥③:IF(REF((C<薛斯通道4 AND C<轨道线下轨 AND C<BOLL下轨) AND(中户动向<5 AND 大户动向<5 AND 散户动向<5) ,1) ,89,0),LINETHICK3,COLORRED;
¥④:IF(REF((中户动向<3 AND 大户动向<3 AND 散户动向<3 AND 主力动向<3),1),55,0),LINETHICK3,COLORBROWN;
DRAWICON(TAI2< REF(TAI2,1) AND TAI2>79,95,2);
DRAWICON(BB>0,65,5);
DRAWICON(CC AND CC1,35,5),COLOR0099FF;{进}
DRAWTEXT(REF((中户动向<3 AND 大户动向<3 AND 散户动向<3 AND 主力动向<3),1),56,'★'),COLORRED;
DRAWTEXT(REF((C<薛斯通道4 AND C<轨道线下轨 AND C<BOLL下轨) AND(中户动向<5 AND 大户动向<5 AND 散户动向<5),1),90,'★'),COLORMAGENTA;

RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100; 
K:=EMA(RSV,3); 
D:=EMA(K,3); 
J:=(3*K-2*D); 
多了解:IF(J<=0,-J*5,0),LINETHICK0; 
STICKLINE(J<=0,0,多了解,2,0),COLORRED; 
DRAWTEXT(J<=0,5,'了解');

KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20; 
KDJ2:=J>REF(J,1); 
再买入:IF(FILTER(KDJ1 AND KDJ2,3),30,0),COLORMAGENTA;
DRAWTEXT(FILTER(KDJ1 AND KDJ2,3),30,'买入'),COLORYELLOW;

MA1:=MA(C,5),COLORYELLOW;
MA2:=MA(C,10),COLOR00FF00;
MA3:=MA(C,30),COLORF00FF0;
江恩线:=EMA(CLOSE,144)*10, COLORBLUE,LINETHICK2;
VAR18:=(CROSS(100,"KDJ.J"(9,3,3)) OR CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3))) AND "KDJ.D"(9,3,3)>75;

VAR2C:=MA(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),5);
VAR2D:=5;
VAR2E:=CROSS(VAR2C,VAR2D);
VAR2F:= VAR2E;
VAR30:=VAR18;
{DRAWICON(VAR2F,LOW-LOW*1/100,1);
DRAWICON(VAR2F AND CLOSE>江恩线,LOW,1);
DRAWICON(VAR30,HIGH,2);
DRAWTEXT(VAR2F AND CLOSE<江恩线,LOW,'秘密买点!'), COLORYELLOW;
DRAWTEXT(VAR2F AND CLOSE>江恩线,LOW,'强势买点!'), COLORRED;
DRAWTEXT(VAR30,HIGH,'秘密抛点'), COLOR00FF00;
秘密买点:IF(VAR2F AND CLOSE<江恩线,1,0),LINETHICK0,COLORYELLOW;}

DRAWICON(VAR2F,65,1);
DRAWICON(VAR2F AND CLOSE>江恩线,30,1);
DRAWICON(VAR30,80,2);
DRAWTEXT(VAR2F AND CLOSE<江恩线,60,'秘密买点!'), COLORYELLOW;
DRAWTEXT(VAR2F AND CLOSE>江恩线,60,'强势买点!'), COLORRED;
DRAWTEXT(VAR30,85,'秘密抛点'), COLOR00FF00;
秘密买点:=IF(VAR2F AND CLOSE<江恩线,1,0),LINETHICK0,COLORYELLOW;

BBB:=MA(LOW,5)*(1-5/100);
XIPAN:=(HHV(BBB,5)+LLV(BBB,5))/2;
DRAWTEXT(CROSS(XIPAN,L) AND XIPAN>REF(XIPAN,1),60,'洗盘');