汇总股票买卖公式1.docx
《汇总股票买卖公式1.docx》由会员分享,可在线阅读,更多相关《汇总股票买卖公式1.docx(21页珍藏版)》请在冰豆网上搜索。
汇总股票买卖公式1
公式A:
短线买卖(有未来函数)
Var3:
=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var4:
=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:
=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
Var6:
=(Var3+Var4+Var5)/3;
Var7:
=EMA(Var6,5);
指标:
EMA(EMA(Var3,5),5)*3,COLORSTICK;
Var8:
=IF(Var6<=-20,10,0);
Var9:
=HHV(Var8,10);
STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;
VarA:
=IF(Var9ANDCROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:
EMA(Var7,5)*2, COLORff00ff;
D:
EMA(K,5), colorwhite;
J:
K*3-D*2,coloryellow;
VarB:
=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5))ANDJ>10;
换手:
VOL/CAPITAL*100,colorgreen;
DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;
STICKLINE((VarA=20),0,10,5,0),colorwhite;
VARC:
=(ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND(REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:
=(ZIG(3,5)[=REF(ZIG(3,5),2))AND(REF(ZIG ]
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;
DRAWTEXT((VARC=1),(-14),'买'),Color0000FF;
STICKLINE((VARD=1),14,0,4,0),Color00FF00;
DRAWTEXT((VARD=1),18,'卖'),Color00FF00;
VarE:
=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VarF:
=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var10:
=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var11:
=VarF[REF(VOL,1)ANDCLOSE>REF(CLOSE,1); ]
DRAWTEXT(Var11ANDCOUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;
STICKLINE(Var11ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;
Var12:
=(HIGH+LOW+CLOSE)/3;
Var13:
=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));
Var14:
=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));
Var15:
=IF(Var13>=150ANDVar13<200ANDVar14>=150ANDVar14<200,10,0);
Var16:
=IF(Var13<=-150ANDVar13>-200ANDVar14<=-150ANDVar14>-200,-10,Var15);
Var17:
=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var18:
=100-ABS(Var17);
Var19:
=IF(Var18<90,Var18,100);
Var1A:
=IF(VarE>0,VarE,0);
Var1B:
=IF(Var14>=200ANDVar13>=150,15,IF(Var14<=-200ANDVar13<=-150,-15,Var16))+60;
Var1C:
=Var1A>48ANDVar1B>60ANDVar19<100;
DRAWTEXT(Var1CANDCOUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;
STICKLINE(Var1CANDCOUNT(Var1C,30)=1,0,10,5,0),colorffcc66;
公式E:
波段短线买卖(黄绿买蓝卖)
趋势线:
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);
见底信号:
10;
买点准备:
IF(趋势线<=10,50,0);
买入时间:
IF(CROSS(趋势线,见底信号),100,0);
VAR26:
=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR27:
=REVERSE(VAR26);
VAR28:
=SMA(VAR26,3,1);
波段王:
=SMA(VAR28,3,1);
波段鬼:
=SMA(波段王,3,1);
低吸:
IF(CROSS(波段王,波段鬼)AND波段王<40,35,0);
高抛:
IF(CROSS(波段鬼,波段王)AND波段鬼>75,70,100);
DRAWTEXT(CROSS(波段王,波段鬼)AND波段王<40,25,'低进'),COLORYELLOW;
DRAWTEXT(CROSS(波段鬼,波段王)AND波段鬼>75,85,'高减'),COLORWHITE;
公式F:
短线买卖(红蓝买绿出)
使用方法:
红色箭头第一买入点,蓝色箭头第二买入点,绿色箭头卖出点
V1:
=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:
=EMA(V1,300);
V3:
=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:
SMA(V3,2,1);
V5:
SMA(V4,2,1);
V6:
=CLOSE/REF(CLOSE,3)>=1.1;
V7:
=BACKSET(V6,3);
大涨买:
IF((V7ANDCOUNT(V7,3)=1),50,0),colorblue,LINETHICK2;
DRAWTEXT(大涨买,50,'大涨买'),colorblue;
V10:
=PEAKBARS(3,15,1)<10;V12:
=IF(V10=1,50,0);
头部:
=IF(V12=50,100,0);
卖:
IF(头部>REF(头部,1),50,0),colorgreen,LINETHICK2;DRAWTEXT(卖,50,'卖'),coloryellow;
V9:
=TROUGHBARS(3,15,1)<10;V11:
=IF(V9=1,50,0);
底部:
=IF(V11=50,50,0);
买:
IF(底部>REF(底部,1),40,0),colorred,LINETHICK2;DRAWTEXT(买,40,'买'),coloryellow;
公式D:
成交量买卖
参数设定:
{M1:
2,500,5;M2:
2,500,35;M3:
2,500,135}
VOLUME:
VOL,VOLSTICK;
MAVOL1:
MA(VOLUME,M1);
MAVOL2:
MA(VOLUME,M2);
MAVOL3:
MA(VOLUME,M3);
-----------------------------------------
公式B:
中短线买卖(有未来函数)
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<25);
B:
ZIG(3,10)*100,colorred;
G:
MA(B,2);
D:
CROSS(B,G)*1000,colorred,LINETHICK2;
W:
CROSS(G,B)*1000,colorgreen,LINETHICK2;
E:
=REF(INDEXC,1);
F:
=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:
=FANDF<8;
VAR11:
=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:
=SMA(VAR11,3,1);
VAR13:
=SMA(VAR12,3,1);
VAR14:
=VAR13ANDVAR13<20;
DRAWTEXT(W=1000,1000,'卖'),color00bb00;
DRAWTEXT(D=1000,1000,'买'),colorred;
公式C超短线买卖
VAR1:
=1;
VAR2:
=(2*CLOSE+HIGH+LOW)/4;
天:
80,POINTDOT;
人:
20;
VAR3:
=IF(YEAR>=2099ANDMONTH>2,0,1);
VAR4:
=LLV(LOW,5);
VAR5:
=HHV(HIGH,4);
散户:
EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄家:
EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3*VAR1;
VAR6:
=(HHV(HIGH,4)-VAR2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
VAR7:
=(VAR2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
倒影:
SMA(VAR6,4,1)*VAR1;
VAR8:
=SMA(VAR7,2,1);
黄山:
SMA(VAR8,2,1)*VAR1;
地平线:
12;
DRAWTEXT(CROSS(散户,庄家)AND散户<50AND29<散户,20,'短进'),COLOR00FF00;
DRAWTEXT(CROSS(庄家,散户)AND散户>40AND71>散户,50,'短出'),COLOR00FFFF;
DRAWTEXT(CROSS(散户,庄家)AND散户<30,0,'低吸'),COLOR3399CC;
DRAWTEXT(CROSS(庄家,散户)AND散户>70,75,'高减'),COLORFFFF33;
DRAWICON(CROSS(散户,庄家)AND散户<30,20,1);
DRAWICON(CROSS(庄家,散户)AND散户>70,80,2);
VAR9:
=CLOSE-REF(CLOSE,5);
VARA:
=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5)*100;
VARB:
=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),10),10)*100;
VARC:
=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20)*100;
卖出:
IF(VARA>0ANDCROSS(VARC,VARA),-40,0);
DRAWTEXT(卖出,-30,'中线逃'),COLOR0033FF;
DRAWICON(卖出<0,-25,2);
成交量变化的买卖方法:
1)成交量在135日均线之下,无主力介入为观望时期。
2)那天成交量突然突破135日均量线(资金异动线),说明有资金异动,有主力悄悄入场了,这时候要关注该股。
3)如成交量继续放大,必然引起5日均量线(主力启动线)先后上穿35日均量线(主力洗盘线)和135日均量线。
5日均线上穿135日均线且量柱在5日均线之上时,则可1/3-1/2买入。
4)随着成交量持续放大,35日均量线将上穿135日均量线,此时主力将开始洗盘打压股价,此时可卖出。
5)洗盘期间成交量持续萎缩,5日均线下穿35日均线,洗盘凶的会下穿135日均线。
这时期要每天关注该股。
当发现那天突然放量5日均量线掉头上穿35日均量线且成交量柱在5日均线上方时,此时为最佳买点,可全仓买入。
此时上涨成功达到99%以上。
6)之后可根据成交量5日均量线下穿35日均量线为卖出,上穿35日均线为买入进行买卖。
公式1:
超短线买卖
买线:
EMA(C,2),COLORRED;
卖线:
EMA(SLOPE(C,21)*20+C,42),COLORYELLOW;
BUY:
=CROSS(买线,卖线);
SEL:
=CROSS(卖线,买线);
DRAWTEXT(BUY,(LOW*0.988),'↑'),COLORRED,LINETHICK5;
DRAWTEXT(BUY,(LOW*0.958),'买'),COLORRED,LINETHICK5;
DRAWTEXT(SEL,(HIGH*1.028),'↓'),COLORWHITE,LINETHICK5;
DRAWTEXT(SEL,(HIGH*1.058),'卖'),COLORWHITE,LINETHICK5;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,10,1),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,10,0),COLORBLUE;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),COLORBLUE;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),COLORBLUE;
STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,6,0),COLORYELLOW;
公式2短线买卖[筹码突出重围]
主筹估算:
EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
散筹估算:
EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1,COLORGREEN;
筹码锁定:
散筹估算-主筹估算,COLORFFBB00;
STICKLINE(筹码锁定>0,筹码锁定,散筹估算,5,0),COLOR009900;
STICKLINE(筹码锁定<=0,0,散筹估算,5,0),COLOR009900;
STICKLINE(筹码锁定>0,0,筹码锁定,5,0),COLORFFBB00;
STICKLINE(筹码锁定<0,0,筹码锁定,5,0),COLORFFBB00;
STICKLINE(筹码锁定<-50,-50,筹码锁定,5,0),COLORRED;
动态底部:
EMA(IF(L<=LLV(L,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3),COLORYELLOW;
STICKLINE(动态底部>0,0,动态底部,5,0),COLORYELLOW;
主筹估算,LINETHICK2,COLORRED;
DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,1);
DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,2);
公式3短线买卖2(在主图中叠加指标)
N:
=20;M:
=32;P1:
=80;P2:
=100;
VAR1:
=(C+H+O+L)/4;
卖出:
XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:
XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:
100*(卖出-买入)/买入,NODRAW;
MA1:
=MA(VAR1,3);
STICKLINE(卖出>LOWAND卖出STICKLINE(卖出>MIN(C,O)AND卖出STICKLINE(卖出>LOWAND卖出STICKLINE(卖出STICKLINE(卖出STICKLINE(买入>LOWAND买入STICKLINE(买入>MIN(C,O)AND买入STICKLINE(买入>LOWAND买入STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;
公式4、:
逃顶公式(TD1)
Var3:
=REF(HIGH,1)*1.1;
Var4:
=HIGH*1.1;
Var5:
=(Var4*VOL+Var3*(CAPITAL-VOL))/CAPITAL;
Var6:
=REF(LOW,1)*0.9;
Var7:
=LOW*0.9;
Var8:
=(Var7*VOL+Var6*(CAPITAL-VOL))/CAPITAL;
Var9:
=EMA(Var8,30);
VarA:
=EMA(Var5,30);
VarB:
=VarA-2;
VarC:
=IF(CLOSE<=Var9,VarB,VarA);
VarD:
=MA(CLOSE,80)-MA(CLOSE,10)/17;
VarE:
=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
卖出线:
SMA(SMA(VarE,3,1),3,1),colorff6633;
买入线:
3*SMA(VarE,3,1)-2*卖出线,colorred;
DRAWICON(CROSS(90,买入线),90,2);
顶:
STICKLINE(CROSS(90,买入线),100,0,5,0),colorgreen;
黄金点:
STICKLINE(SMA(VarE,3,1)>卖出线,SMA(VarE,3,1),卖出线,4,0),coloryellow;
0;100
------------------------------------------------------------------------------------------
选股公式A(量价选股)
VAR1C:
=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
VAR1D:
=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:
=EMA(VAR1D,30);
VAR1F:
=2*(VAR1D-VAR1E)*10;
VAR20:
=POW(VAR1F,3)*0.1+POW(VAR1F,2);
庄拉线:
=IF(VAR1F>0.015,VAR20,0)/45;
量价线:
=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,COLORWHITE;
VAR2E:
=IF(FILTER(量价线>0AND量价线<3,5)=1,12,0);
涨幅前兆:
FILTER(庄拉线>0AND庄拉线<0.5ANDVAR2EANDVAR1C<3,10)=1;
选股公式B(MA指标选股,20线上穿60线为买入点)
MA20:
=MA(C,20);
MA60:
=MA(C,60);
xg:
cross(ma20,ma60)andma60>ref(ma60,1)
选股公式C(量价寻找黑马)
VAR1:
=MA(CLOSE,5);
VAR2:
=MA(CLOSE,10);
VAR3:
=MA(CLOSE,30);
VAR4:
=MA(CLOSE,60);
VAR5:
=EMA(COST(85),7);
VAR6:
=EMA(COST(15),7);
VAR7:
=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8:
=INTPART(VAR7*100)/100;
VAR9:
=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA:
=INTPART(VAR9*100)/100;
VARB:
=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:
=INTPART(VARB*100)/100;
VARD:
=EMA(CLOSE,5)-EMA(CL