您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:短线买卖指标组合

短线买卖指标组合


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-04-07 09:17:00
公式简介:

1.投机指标
投机5:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORred;
投机10:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORwhite;
投机20:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;
投机30:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;
抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,20,0),COLORFF66FF ,LINETHICK2 ;
卖出: IF(投机20>=100,30,0),LINETHICK2,COLORGREEN;
2.收藏很久
(N 1 100 5)
趋势线: 3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,N,1),3,1);
见底: 10;
准备: IF(趋势线<=20,40,0);
买入: IF(CROSS(趋势线,见底),60,0),colorred;
卖出: IF(趋势线>=80,100,0);

3.绝对稳赚
(N 1 100 5)
Var1:=REF(CLOSE,2);
A2: SMA(MAX(CLOSE-Var1,0),N,1)/SMA(ABS(CLOSE-Var1),N,1)*100, COLORyellow;
买1: IF(A2<16,30,0); DRAWTEXT(A2<10,60,'买'),COLORF0F000;
Var2:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var2,0),5,1)/SMA(ABS(CLOSE-Var2),5,1)*100;
抄底: IF(Var3<10,30,0);DRAWTEXT(Var3<10,40,'底'),COLORF0F000;
逢高派发区: STICKLINE(A2>=80,A2+1,A2-1,1.5,0), COLORRED,LINEthICK3;
VAR1J:=close/(ema(ema((c+l+h)/3,3),26)*0.9)<0.95 ;
放箭:IF(VAR1J,15,0),STICK,linethick3,COLORRED;
DRAWTEXT(VAR1J ,10,'箭'),COLORF0F000;
Vare1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
Vare2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
Vare3:=IF(Vare1>0.010, 0.900, 1) AND IF(Vare1>(-0.025), 1, 1.200);
Vare4:=Vare3*(Vare2-Vare1)*100;
Vare5:=SUM(Vare4, 10);
Vare6:=SMA(Vare5, 40, 1);
Vare7:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{Var38>Var39;}
Vare8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Vare7>0, 91, 0);
追击:IF(Vare8>90,40,0),STICK,linethick3,COLORyellow;
DRAWTEXT(Vare8>90,30,'追击'),COLORyellow;


4.抄底逃顶王
(P1 1 100 10 P2 1 100 3)
80, POINTDOT,LINETHICK2;
20, POINTDOT,LINETHICK2;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2 , ;
D: EMA(0.667*REF(K,1)+0.333*K,3),LINETHICK1 ,;
VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARD:=EMA(IF(C< EMA(C,250),VARC*1000,VARC*10),3);
火焰山:EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618;
STICKLINE(火焰山>100,0,火焰山*1.2,8,0);
STICKLINE(火焰山>100,0,火焰山,4,1);
抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,20,0),COLORYELLOW ,LINETHICK2 ;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),45,0),COLORGREEN,LINETHICK2;
DRAWTEXT(顶A=50,45,'逃顶'),COLOR00FF00;
DRAWTEXT(抄底=20,30,'抄底'),COLORRED;

抓牛股:
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
抓牛:FILTER(LS,28);

波段阻击

AA05:MA(C,5),LINETHICK3,COLOR00CCFF;

五日乖离率:=(C-AA05)/AA05*100;

BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);

加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;

IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK3,COLORRED;

AA10:MA(C,10);AA20:=MA(C,20);

BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;

IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK3,COLORGREEN;

AA30:MA(C,30);

三拾日乖离率:(C-AA30)/AA30*100,NODRAW;

VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);

VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);

BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;

IF(BB30>15 AND AA30>REF(AA30,1), AA30,DRAWNULL),LINETHICK3,COLORFF00FF;

波段狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);

加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)

AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;

清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10);

DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;

JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ;

减仓:=FILTER(JC,10);

MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;

买入:=FILTER(MR,10);

DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORCYAN;

DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;

DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORGREEN;

DRAWTEXT(波段狙击,LOW*0.98,'←波段狙击'),COLORYELLOW;

VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));

VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);

MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;


短线上涨极限:(H-MA(C,5))/MA(C,5)>0.1;
短期下跌极限:(MA(C,5)-L)/L>0.1;

智能KDJ: 特点抄底很灵验,底部三根线,顶部二根线,-10、0、10、90、105,抢钱轴-10,见顶105

N : 2 90 9
M1: 2 30 3
M2: 2 30 3

{KDJ}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
顶轴:105, POINTDOT;
上轴:90, POINTDOT;
下轴:10, POINTDOT;
底轴:0, POINTDOT;
抢钱轴:-10, POINTDOT;
DRAWTEXT(CROSS(J,顶轴) ,100,'大出'), COLORYELLOW;
DRAWTEXT(CROSS(J,上轴) ,90,'小出'), COLOR99FFCC;
DRAWTEXT(CROSS(下轴,J) ,10,'小进'), COLORBLUE;
DRAWTEXT(CROSS(底轴,J) ,0,'大进'), COLORRED;
DRAWTEXT(CROSS(抢钱轴,J) ,-5,'狂进'), COLORWHITE;


{黄金方块}
RA:=LLV(LOW,35);
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,近日均价*1.15 ,2 , 0),COLORYELLOW;
{提示}
VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR5:=SMA(VAR4,13,8);
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
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;
Q5:=趋势>1*REF(趋势, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(趋势,5);
A1:=EMA(Q3, 3);
A2:=EMA(A1, 3);
A3:=EMA(A2, 3);
A4:=EMA(A3, 3);
A5:=EMA(A4, 3);
A6:=EMA(A5, 3);
A:=EMA(A4, 3);
DRAWTEXT(CROSS(趋势, 20) AND Q10<-13,10,'看量入场'), COLORRED;
DRAWTEXT(CROSS(趋势, A5) AND REF(趋势,1)<34,REF(趋势,1),'盯紧'), COLORWHITE;
DRAWTEXT(CROSS(趋势, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)
AND Q1>4 AND A1<60, 45, '调'), COLOR00FF00;

黄金分割提示; 可提示分割点,安装在任意主图

{黄金分割}
高:=REF(HHV(H,60),3);
低:=REF(LLV(L,60),3);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H50:=高-(高-低)*0.500;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
TOP:REFDATE(高,DATE),POINTDOT,COLORWHITE,NODRAW;
%80.9:REFDATE(H19,DATE),POINTDOT,COLORYELLOW,NODRAW;
%61.8:REFDATE(H38,DATE),POINTDOT,COLORMAGENTA,NODRAW;
{%50.0:REFDATE(H50,DATE),POINTDOT,COLORGREEN,NODRAW;}
%38.2:REFDATE(H61,DATE),POINTDOT,COLORMAGENTA,NODRAW;
%19.8:REFDATE(H80,DATE),POINTDOT,COLORYELLOW,NODRAW;
BOTTOM:REFDATE(低,DATE),POINTDOT,COLORWHITE,NODRAW;
DRAWTEXT(ISLASTBAR,TOP,' ←%顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%80.9,' ←%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%61.8,' ←%61.8'),COLORMAGENTA;
{DRAWTEXT(ISLASTBAR,%50.0,' ←%50.0'),COLORGREEN;}
DRAWTEXT(ISLASTBAR,%38.2,' ←%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%19.8,' ←%19.1'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,BOTTOM,' ←%低点'),COLORWHITE;

黑码启动组合

{东方求败}
股价:=(H+L+C)/3;
股价运动:=股价,LINETHICK2,COLORBLUE;
运动趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3);
良机区1:=运动趋势*0.9;
良机区2:=运动趋势*0.875;
良机区3:=运动趋势*0.85;
涨1:=O<良机区3;
求败1:IF(涨1,0.3,0),COLOR0000FF;
涨2:=L<良机区2 AND 运动趋势>REF(运动趋势,1);
求败2:IF(涨2,0.5,0),COLOR008000;
涨3:=L<良机区3 AND 运动趋势>REF(运动趋势,1);
求败3:IF(涨3,1,0),COLOR00FFFF;

{黑码启动}
VAR6:=REF(LOW,1)*0.83;
VAR7:=LOW*0.1;
VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
VAR9:=EMA(VAR8,60);
VARA:=EMA(VAR6,60);
VARB:=VARA-2;
VARC:=IF(C<=VAR9,VARB,VARA);
{VARD:=MA(C,80)-MA(C,10)/17;}
启动:=FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF
(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)
-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);
马启:IF(启动,1.5,0),COLORFFFFFF;

{理想实现}
VARS2:=IF(MONTH<12,1,1);
VARS3:=(2.28*CLOSE+HIGH+LOW)/4;
VARS4:=LLV(LOW,34);
VARS5:=HHV(HIGH,34);
理想:=EMA((VARS3-VARS4)/(VARS5-VARS4)*100,13)*VARS2,LINETHICK4,COLORRED;
论坛:=EMA(0.667*REF(理想,1)+0.333*理想,2),LINETHICK2,COLORFF9933;
理想实现:(CROSS(理想,论坛) AND 理想<22),LINETHICK2,COLOR0099FF;

{横盘放量选股}
横盘放量:LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03
AND "DMI.PDI">"DMI.MDI" AND CROSS("DMI.ADX","DMI.ADXR")
AND"DMI.ADXR">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.D">REF("KDJ.D",1);
{STICKLINE(横盘放量,0,0.5,1,0),COLOR000099;}


{笑傲江湖}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
笑傲江湖:IF(SSS-SSB=2 AND SSS>REF(SSS,1),1.3,0),COLORFFFF00;

{终结者}
X:=1;
LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;
WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;
S2:=EMA(S1,3);
S3:=ABS(BIAS1-BIAS3);
SX:=(S1+S3)/2;
XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
CCC:=XC1+SX;
ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;
LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND
VOL/CAPITAL*100<5,-50,0);
JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;
MA3:= MA(C,3);
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
BOT:=MIN(C0,C1);
HSL:=100*VOL/CAPITAL*X;
MA13:=MA(C,13)*X;
CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);
VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),100,0);
V满仓:=VMC;
V半仓A:=IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR
(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,50,0) ;
V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;
V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));
V半仓:=V93 OR V90;
XMM87:=V满仓 OR V半仓;
XMM91:=VMC;
G:=MA(CLOSE,80)-MA(CLOSE,10)/3*X;
初级:=IF(XMM87>0,1.5,0),STICK,LINETHICK2;
中级:IF(XMM91>0,1,0),STICK,COLORFF0080;
高级:IF(VMC>0 AND CLOSE<G,1.5,0),STICK,LINETHICK2;


{黑码底}
DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIFF1,9),COLORFFFF00;
A01:=BARSLAST(REF(CROSS(DIFF1,DEA1),1));
底背离:=REF(CLOSE,A01+1)>CLOSE AND DIFF1>REF(DIFF1,A01+1) AND CROSS(DIFF1,DEA1);
DEA0:=EMA(DIFF1*100,9);
MACD0:=2*(DIFF1*100-DEA0);
黑码:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15);
黑码0:(底背离 AND 黑码),COLORFF8000;


[url=http://www.goodgupiao.com/gupiaogongshi/18977.html][B]短线买卖指标组合[/B][/url]