找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 1565|回复: 8

阴线买入法【集锦】

[复制链接]
发表于 2016-1-23 09:29 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
[hide] 1.jpg 2.jpg 3.jpg 4.jpg 以下是阴线买入经典系统公式!

涨停:=C/REF(C,1)>1.095;
涨停10日:=COUNT(涨停,10);
涨幅:=C/REF(C,1)-1<0.05;
选股1:=涨停10日 AND 涨幅 ;
BS:=COUNT(涨停,10)<2;
M10:=MA(C,7);
M20:=MA(C,14);
M30:=MA(C,25);
VV:=M10>M20 AND M20>M30 ;
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
回踩均线:=C>MA(C,7) AND CROSS(MA(C,7),L);
S3:=DYNAINFO(17)>0;
XG:S1 AND S2 AND S3 AND 选股1 AND 回踩均线 AND VV ;
MA5:=EMA(C,5);
MA10:=EMA(C,10);
VV1:=CROSS(MA5,MA10);
VVV1:=COUNT(VV1,5)>=1;
MV5:=EMA(V,5);
MV10:=EMA(V,10);
VV2:=CROSS(MV5,MV10);
VVV2:=COUNT(VV2,5)>=1;
DIF:="MACD.DIF"(12,26,9);
DEA:="MACD.DEA"(12,26,9);
VV3:=CROSS(DIF,DEA);
VVV3:=COUNT(VV3,5)>=1;
VVV4:=ABS((C-MA10)/MA10)*100<2 AND C
涨停N:=C/REF(C,1)>=1.097;
VVV5:=COUNT(涨停N,5)>=1;
买入:VVV1 AND VVV2 AND VVV3 AND VVV4 AND VVV5;
VAR1N:CROSS(MA(C,13),C) AND MA(C,13)>REF(MA(C,13) ,1) AND INDEXC>MA(INDEXC,13) AND MA(C,13)>MA(C,55) AND V
VAR6B:=REF(LOW,1)*0.83;
VAR7B:=LOW*0.1;
VAR8B:=(VAR7B*VOL+VAR6B*(CAPITAL-VOL))/CAPITAL;
VAR9B:=EMA(VAR8B,60);
VARA:=EMA(VAR6B,60);
VARB:=VARA-2;
VARCB:=IF(C<=VAR9B,VARB,VARA);
VARDB:=MA(C,80)-MA(C,10)/17;
抄底:FILTER(VARCB-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);
ZT:=CLOSE>REF(CLOSE,1)*1.095;
涨停后回调:REF(ZT,2) AND REF(C,1)>C AND REF(V,1)>V AND REF(CREF(V,1),COLORYELLOW;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,3);
黄金线:=REF(LOW,BARSLAST(LJL));
黄金柱:=FILTER(TJ1,3);
{2.倍量过左峰}
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2);
突破前高:=CROSS(C,前高);
倍量过左峰:= 突破前高 AND 倍量;
{3.凹口起柱}
T7:=REF(VOL,6)/REF(VOL,7)>=2;
T6:=REF(VOL,5)/REF(VOL,6)>=2;
T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
T1:=V/REF(VOL,1)>2;
T0:=C>O AND C>REF(C,1);
凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0
OR T3 AND T1 AND T0 ;
{凹口起柱}
AKQZ:= 黄金柱 AND 凹口起柱;
{4.前高低位}
X:=21;
TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
BB1T:=FILTER(AA1T,X);
CC1T:=BACKSET(BB1T,X+1);
LD10T:=FILTER(CC1T,X);
前期高位:=REF(H,BARSLAST(HD10T));
前期低位:=REF(L,BARSLAST(LD10T));
{突破前高}
TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;
{选股}
XGNNB: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线 AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;
A:=C
B:=COUNT(A,4)=4;
D:=OBV-MA(OBV,30);
E:=MA(C,20)>REF(MA(C,20),1) AND MA(C,55)>REF(MA(C,55),1);
XGB:B AND D>0 AND E;
连跌不超五天:=COUNT(DOWNNDAY(CLOSE,5),14)<1;
EMA14:=EMA(C,14);
最近放量:= (SUM(V,17)-HHV(V,17))/(SUM(V,60)-LLV(V,60))>=0.45;
创新高:=HHV(C,10)/HHV(C,144)>=0.8;
大趋势涨:= EMA14>EMA(C,60);
小趋势跌:= ABS(LLV(C,3)-EMA14)/EMA14<0.03;
最近放量 AND 大趋势涨 AND 小趋势跌 AND 创新高 AND 连跌不超五天;
N:=60;
XGNN:IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N)),DRAWNULL);
AA1:=AMOUNT/V;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L
EE1:=V
FF1:BB1 AND CC1 AND DD1 AND EE1;
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>100;
VAR3:=1;
VAR4:=MA(CLOSE,5);
VAR5:=MA(CLOSE,10);
VAR6:=MA(CLOSE,30);
VAR7:=MA(CLOSE,60);
VAR8:=EMA(COST(85),7);
VAR9:=EMA(COST(15),7);
VARAB:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VARBB:=INTPART(VARAB*100)/100;
VARCV:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARDV:=INTPART(VARCV*100)/100;
VAREV:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARFV:=INTPART(VAREV*100)/100;
短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);
中线趋势:=EMA(短线趋势,30);
VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR14:=REF(中线趋势,1);
VAR15:=中线趋势;
VAR16:=VAR15-VAR14;
VAR17:=REF(短线趋势,1);
VAR18:=短线趋势;
VAR19:=VAR18-VAR17;
VAR1A:=OPEN;
VAR1B:=CLOSE;
超级牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 AND VAR1B>=VAR4 AND VAR1B>=VARFV AND VAR16>0 AND VAR19>0 AND VAR3=1,0.5,0);
短线指标:IF(CROSS(短线趋势,中线趋势) AND 短线趋势<0 AND 中线趋势<-0.2 AND VAR11>45 AND VAR16>0 AND VAR3=1,1,0);
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10000;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*10000;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*10000;
长线:=SMA(RSV3,5,1),COLORYELLOW;
黄金坑:=短线<2000 AND 中线<2000 AND 长线<2000;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
强市线:=80,POINTDOT;
弱市线:=20,POINTDOT;
分水岭:=50,POINTDOT;
多空:=长期<10;

NC:=5;
N1:=1;
M1:=22;
P:=19;
SJV:=C/FINANCE(34)
FZL:=FINANCE(11)/FINANCE(15)>N1;
XGC:=SJV AND FZL;

DC:=FINANCE(34)>0;
AC:=FINANCE(34);
BC:=CLOSE;
T1CC:IF(((BC/AC<3) AND DC AND 黄金坑 AND 多空 AND XGC),1,0);
NB:=10;
VAR1C:=AMOUNT/VOL/7;
VAR2C:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3C:=SUM(AMOUNT,NB)/VAR1C/7;
VAR4C:=DMA(VAR2C,VOL/VAR3C);
抄底C:=(CLOSE-VAR4C)/VAR4C*100;
CROSS(-7.0,抄底);

**************************************************************
大智慧版本的

{阴线买入}

N:=5;
R:=IF(DATE<1910612,1,0);
EE:=(H+MAX(C,O))/2;
EE1:=MA(EE,3);
FF:=(H+L+C+O)/4;
FF1:=MA(FF,3);
FF3:=REF((C+O)/2,1)>REF((C+O)/2,2) AND REF(MIN(C,O),1)>REF(MAX(C,O),2);
FF4:=(((FF1-(REF(FF1,1)-FF1))-L)/L)*100;
FF5:=(((EE1+(EE1-REF(EE1,1)))-L)/L)*100;
CC:=IF(FF3,FF5,FF4);
A:=SMA(L,4,3);
BB1:=REF(L,1)-HHV((MAX(REF(L,2),REF(L,1))-MIN(REF(L,2),REF(L,1))),2);
BB2:=REF((C+O)/2,1)>REF((C+O)/2,2);
BB3:=L<=BB1+BB1*0.01 AND O>REF(O,2) AND O>=REF(L,3) AND COUNT(C>O,7)>3;
BB6:=(BB1-L)/L*100;
A1:=(A-L)/L>N/1000 ;
A8:=A1;
A9:=(REF(H,1)-O)/O*100-(REF(MAX(C,O),2)-REF(MAX(C,O),1))/REF(MAX(C,O),1)*100;
A10:=IF(BB2,BB6,A9);
BB4:=BB6+A10>2;
BB5:=IF(BB2,BB3,BB4) AND CC>2;
D5:=R AND A8 AND BB5;
阴线买入:IF(R AND (REF((D5),1)) AND (L

***********************************************************************************
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=EMA(CLOSE,5);
VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);
VAR12:=EMA(CLOSE,5)*(-1);
力度:=VAR10*5, COLORWHITE,LINETHICK2;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)
WR1:=-120*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)),COLORGREEN;
超跌:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,60)*100*1.1;
XG:力度>7 AND 超跌<-15.5 AND WR1<-100 ;

***********************************************************************************
使用说明:行情初期或上涨途中出现穿头破脚后,第三日收阴选出,第四日底部买入,第五日不获利就加仓;同时要结合其他指标和均线的位置作为买入依据。

M21:=MA(C,21);
AAA11:=REF(HIGH,4)
BBB11:=REF(OPEN,3)
CCC11:=CM21;
DDD11:=REF(OPEN,2)
VVV11:=VOL
穿头破脚买入AAA11 AND BBB11 AND CCC11 AND DDD11 AND VVV11)COLORBLUE;
5.gif

***********************************************************************************
E40:EXPMA(CLOSE,40);
工作线:=MA(CLOSE,1);
M3:MA(CLOSE,3)COLORRED;
M13:MA(CLOSE,13)COLORGREEN;
收:C,COLORRED,NODRAW;
高:H,NODRAW;
三:C*1.0348,NODRAW;
五:C*1.055,NODRAW;
八:C*1.0848,NODRAW;
十:C*1.1048,NODRAW;
十五:C*1.1548,NODRAW;
廿:C*1.2048,NODRAW;
止:C*(1-0.025),NODRAW;
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
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;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
稻壳1:EMA(CLOSE,144),POINTDOT,COLORWHITE;
稻壳2:EMA(C,318);
AA1:=AMOUNT/VOL;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L
EE1:=VOL
FF1:=BB1 AND CC1 AND DD1 AND EE1;
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<0,1,0);
P2:=IF(C<0,1,0);
TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
Z1:=MA(C,13);
ZX:=REF(Z1,13/2+1);
DRAWICON(CROSS(ZX,C),H*1.01,2);
{DRAWTEXT(CROSS(工作线,M13)AND J<55,LOW,'入')COLORWHITE;}
DRAWTEXT(CROSS(CLOSE,TT1)AND J<55,LOW,'买'),COLORRED;
DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,'顶'),COLOR00FFFF;
{DRAWTEXT(FF1,L*0.99,'超短'),COLOR00FF00;}
STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;
{STICKLINE(TT4,OPEN,CLOSE,3,0),COLORGREEN;};
日跌: L*0.99,NODRAW,COLORFF00FF;
周跌: L*0.94,NODRAW,COLORFF00FF;

6.gif

****************************************************

7.jpg
发表于 2016-1-23 10:16 | 显示全部楼层
多谢楼主分享
回复

使用道具 举报

发表于 2016-1-23 10:40 | 显示全部楼层
感谢楼主分享,学习了
回复

使用道具 举报

发表于 2016-1-23 11:51 | 显示全部楼层
公式错误?不通过啊
回复

使用道具 举报

发表于 2016-1-23 11:59 | 显示全部楼层
感谢楼主分享,学习了
回复

使用道具 举报

发表于 2016-1-23 15:30 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2016-1-23 16:54 | 显示全部楼层
okokokokokok
回复

使用道具 举报

发表于 2016-2-5 17:39 | 显示全部楼层
通达信怎么不通过啊
回复

使用道具 举报

发表于 2022-7-28 10:43 | 显示全部楼层
谢谢楼主的分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-18 05:53 , Processed in 0.096235 second(s), Total 12, Slave 12 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表