当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信妖股之路,秘密波段,桂氏买卖指标

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

 妖股之路是副图指标,以前下载过的是选股公式。

这是网上搜集的公式中,这个最好,很好用的指标

 
 
假阴真阳:=C<O AND C>REF(C,1);
STICKLINE(假阴真阳,O,C,1,0),COLORMAGENTA;
假阳真阴:=C>O AND C<REF(C,1);
STICKLINE(假阳真阴,O,C,1,0),COLORGREEN;
XG:=V>REF(V,1)*1.5 AND O>REF(C,1) AND C<O AND C>REF(C,1);
DRAWICON(XG,L*0.98,1);
边关:MA(C,60),COLORGREEN,LINETHICK2;
出鞘:"BOLL-M".BOLL,COLORRED,LINETHICK2;
N1:=3;N2:=6;N3:=12;N4:=24;
开战:(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORMAGENTA,LINETHICK2;
追击:"BOLL-M".UB,COLORLIMAGENTA;
 {DRAWKLINE(H,O,L,C);}
A:=REF(HHV(H,25),20) <REF(HHV(H,70),35);
A1:=REF(COUNT(C/REF(C,1)>=1.094,20),1);
DRAWTEXT(REF(EXIST(H>追击,55),5) AND CROSS(C,追击)AND A1 
 AND A  AND COUNT((C/O-1)*100<-7,30)=0,H,'妖股之路'), COLORMAGENTA ;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORBROWN;




秘密波段使用方法:

指标用于做中线,持仓5-30天!止损可以设10%,止盈10-30%!自用波段效果不错
 

VAR1:=IF(YEAR>=2034 AND MONTH>9,0,1);

江恩线:=EMA(CLOSE,144);

VAR2:=IF(YEAR<=2003 AND MONTH<4,0,1);

VAR3:=IF(YEAR=2003 AND MONTH=5,0,1);

VAR4:=IF(YEAR<2003,0,1);

VAR5:=IF(YEAR=2002 AND MONTH=6 AND DAY=28,1,0);

VAR6:=IF(YEAR=2002 AND MONTH=3 AND DAY=21,1,0);

VAR7:=IF(YEAR=2001 AND MONTH=12 AND DAY=5,1,0);

VAR8:=IF(YEAR=2001 AND MONTH=6 AND DAY=14,1,0);

VAR9:=IF(YEAR=2001 AND MONTH=1 AND DAY=11,1,0);

VARA:=IF(YEAR=2000 AND MONTH=11 AND DAY=23,1,0);

VARB:=IF(YEAR=2000 AND MONTH=8 AND DAY=22,1,0);

VARC:=IF(YEAR=2000 AND MONTH=4 AND DAY=21,1,0);

VARD:=IF(YEAR=1999 AND MONTH=6 AND DAY=30,1,0);

VARE:=IF(YEAR=1999 AND MONTH=4 AND DAY=9,1,0);

VARF:=IF(YEAR=1998 AND MONTH=11 AND DAY=17,1,0);

VAR10:=IF(YEAR=1998 AND MONTH=6 AND DAY=4,1,0);

VAR11:=IF(YEAR=1997 AND MONTH=5 AND DAY=12,1,0);

VAR12:=IF(YEAR=1996 AND MONTH=12 AND DAY=11,1,0);

VAR13:=IF(YEAR=1994 AND MONTH=9 AND DAY=13,1,0);

VAR14:=IF(YEAR=1993 AND MONTH=2 AND DAY=16,1,0);

VAR15:=IF(YEAR=1992 AND MONTH=5 AND DAY=26,1,0);

VAR16:=IF(YEAR=2003 AND MONTH=3 AND DAY=4,1,0);

VAR17:=IF(YEAR=2003 AND MONTH=4 AND DAY=16,1,0);

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;

VAR19:=IF(YEAR>1990 AND YEAR<2003,0,1);

VAR1A:=IF(YEAR=2003 AND MONTH=1 AND DAY=3,1,0);

VAR1B:=IF(YEAR=2002 AND MONTH=6 AND DAY=6,1,0);

VAR1C:=IF(YEAR=2002 AND MONTH=1 AND DAY=29,1,0);

VAR1D:=IF(YEAR=2001 AND MONTH=10 AND DAY=22,1,0);

VAR1E:=IF(YEAR=2001 AND MONTH=2 AND DAY=22,1,0);

VAR1F:=IF(YEAR=2000 AND MONTH=9 AND DAY=26,1,0);

VAR20:=IF(YEAR=1999 AND MONTH=12 AND DAY=28,1,0);

VAR21:=IF(YEAR=1999 AND MONTH=5 AND DAY=17,1,0);

VAR22:=IF(YEAR=1999 AND MONTH=2 AND DAY=9,1,0);

VAR23:=IF(YEAR=1998 AND MONTH=8 AND DAY=18,1,0);

VAR24:=IF(YEAR=1998 AND MONTH=3 AND DAY=26,1,0);

VAR25:=IF(YEAR=1997 AND MONTH=2 AND DAY=20,1,0);

VAR26:=IF(YEAR=1994 AND MONTH=7 AND DAY=29,1,0);

VAR27:=IF(YEAR=2000 AND MONTH=5 AND DAY=15,1,0);

VAR28:=IF(YEAR=1996 AND MONTH=1 AND DAY=19,1,0);

VAR29:=IF(YEAR=1992 AND MONTH=11 AND DAY=20,1,0);

VAR2A:=IF(YEAR=2003 AND MONTH=3 AND DAY=26,1,0);

VAR2B:=IF(YEAR=2003 AND MONTH=5 AND DAY=13 AND CLOSE>200,1,0);

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)*VAR19;

VAR2D:=5;

VAR2E:=CROSS(VAR2C,VAR2D);

VAR2F:=VAR1A OR VAR1B OR VAR1C OR VAR1D OR VAR1E OR VAR1F OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR2A OR VAR2B OR VAR2E;

VAR30:=(VAR18 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC OR VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17){ AND CLOSE>200};

秘买:VAR2F AND CLOSE<江恩线;

===========  发现上面公式的源码,有几行是无用的,分析家公式网给删除了无用语句,如下 ===========

江恩线:=EMA(CLOSE,144);

VAR19:=IF(YEAR>1990 AND YEAR<2003,0,1);

VAR1A:=IF(YEAR=2003 AND MONTH=1 AND DAY=3,1,0);

VAR1B:=IF(YEAR=2002 AND MONTH=6 AND DAY=6,1,0);

VAR1C:=IF(YEAR=2002 AND MONTH=1 AND DAY=29,1,0);

VAR1D:=IF(YEAR=2001 AND MONTH=10 AND DAY=22,1,0);

VAR1E:=IF(YEAR=2001 AND MONTH=2 AND DAY=22,1,0);

VAR1F:=IF(YEAR=2000 AND MONTH=9 AND DAY=26,1,0);

VAR20:=IF(YEAR=1999 AND MONTH=12 AND DAY=28,1,0);

VAR21:=IF(YEAR=1999 AND MONTH=5 AND DAY=17,1,0);

VAR22:=IF(YEAR=1999 AND MONTH=2 AND DAY=9,1,0);

VAR23:=IF(YEAR=1998 AND MONTH=8 AND DAY=18,1,0);

VAR24:=IF(YEAR=1998 AND MONTH=3 AND DAY=26,1,0);

VAR25:=IF(YEAR=1997 AND MONTH=2 AND DAY=20,1,0);

VAR26:=IF(YEAR=1994 AND MONTH=7 AND DAY=29,1,0);

VAR27:=IF(YEAR=2000 AND MONTH=5 AND DAY=15,1,0);

VAR28:=IF(YEAR=1996 AND MONTH=1 AND DAY=19,1,0);

VAR29:=IF(YEAR=1992 AND MONTH=11 AND DAY=20,1,0);

VAR2A:=IF(YEAR=2003 AND MONTH=3 AND DAY=26,1,0);

VAR2B:=IF(YEAR=2003 AND MONTH=5 AND DAY=13 AND CLOSE>200,1,0);

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)*VAR19;

VAR2D:=5;

VAR2E:=CROSS(VAR2C,VAR2D);

VAR2F:=VAR1A OR VAR1B OR VAR1C OR VAR1D OR VAR1E OR VAR1F OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR2A OR VAR2B OR VAR2E;

秘买:VAR2F AND CLOSE<江恩线;

秘买:VAR2F AND CLOSE<江恩线;





桂氏买卖,不含未来函数,简单直观(顶尖财经:股票学院 http://www.58188.com)
 
 
DRAWTEXT_FIX(1,0.16,0,0,'(大小底):分批递增建仓。(大小顶):配合其它指标判断是否全出。(断崖不建仓!)'),COLORFFFF00;
 
STICKLINE(CROSS((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,-24),100,0,1,0), COLORFFFFFF;
 
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,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
STICKLINE(VAR9>-150,0,VAR9,3,1), ,COLORFF00FF;
 
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR15A:=C/MA(C,60)-1;
小顶:IF(CROSS(VAR14A,-95) AND VAR15A<0.35 AND VAR15A>=0.2,50,100),COLORFFFF00,LINETHICK3;
DRAWTEXT (IF(CROSS(VAR14A,-95)AND (VAR15A<0.35) AND (VAR15A>=0.2),1,0),90,'卖'),COLORFFFF00;
大顶:IF(CROSS(VAR14A,-95) AND VAR15A>=0.35,2,100),COLORGREEN,LINETHICK5;
DRAWTEXT (IF(CROSS(VAR14A,-95)AND (VAR15A>=0.35),1,0),80,'卖'),COLORGREEN;
小底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.25 AND VAR13A>-0.4,50,0),COLORYELLOW,LINETHICK3;
大底:IF(CROSS(-5,VAR14A) AND (VAR13A<-0.4),98,0),COLORRED,LINETHICK5;
DRAWTEXT (IF(CROSS(-5,VAR14A)AND (VAR13A<-0.4),1,0),20,'买'),COLORRED;
 
VA1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
VA2:=HHV(VA1>20,10); 
顶:STICKLINE(VA2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VA1+10,98,2,3);
 

上一篇:通达信抄底120分神准,黄蓝带操盘要点,低金叉共振战略吸筹指标

下一篇:通达信主力净买,海洋寻底,流动资金指标