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

通达信源码:捕捞季节,控庄估算买庄股,养家系列副图

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

1、捕捞季节,短期买卖点操作 经传基础选股

一、用途
        短期买卖点操作选股
二、用法
        紫色线上穿黄色线为金叉买入信号,下穿为死叉卖出信号;彩柱为趋势强弱信号,彩柱越多代表趋势越强 ;输入:bljj  选择捕捞季节,属于副图选股
         两种颜色柱状区分基本状态:绿色柱状表示个股处于短线弱势状态,红色柱状表示个股处于短线强势状态;彩色柱表示超强的非理性状态。
        用紫线和黄线来显示处于一种短线买卖点状态:紫线上穿黄线为捕捞金叉,为短线买点;紫线下穿黄线为捕捞死叉,为短线卖点。一般情况下,金叉是波段的低点,死叉是波段的高点。从趋势上讲,分为涨势、跌势、方向不明(横盘)三种状态( 顶尖财经 股票学院: http://58188.com )
三、注意事项
        捕捞季节短线操作时要注意 以下几点:
       1、尽量在红色柱上出现的金叉进行介入,不要在绿色柱上出现的金叉进行介入。
       2、配合智能辅助、主力追踪、主力统计、大盘分析来进行参考判断
       3、如在绿色柱出现的弱势区域进行介入,以轻仓为主,不宜重仓
       4、从弱势区域转为强势区域,配合智能辅助、主力追踪、主力统计进行适当的补仓
{捕捞季节}
WY1001:=(2*CLOSE+HIGH+LOW)/4;
 WY1002:=EMA(WY1001,4);
 WY1003:=EMA(WY1002,4);
 WY1004:=EMA(WY1003,4);
 XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
 STICKLINE(XYS0>=0,XYS0,0,3,0),COLORRED;
 STICKLINE(XYS0<0,XYS0,0,3,0),COLORGREEN;
 PJGJ:=AMOUNT/VOL/100;
 SSRYDJX:=MA(PJGJ,13);
 SSRCJL:=EMA(VOL,13);
 SSRCJE:=EMA(AMOUNT,13);
 SSRCBJX:=SSRCJE/SSRCJL/100;
 CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
 XYSHSL:=EMA(VOL/CAPITAL*100,13);
 STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,3 ,0 ),COLORGREEN;
 STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,3 ,0 ),COLORYELLOW;
 STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,3 ,0 ),COLORCYAN;
 STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,3,0 ),COLORBLUE;
 XYS1:MA(XYS0,2);
 XYS2:MA(XYS0,1);



2、控庄估算买庄股

{控庄估算买庄}

N:=21;
N1:=7;
BB2:=EMA(CLOSE,8)-EMA(SLOPE(CLOSE,34)*20+CLOSE,75);
AB:=BB2>=0;
AC:=BB2<0;
ZF:=(HHV(HIGH,30)-LLV(LOW,30))/LLV(LOW,30);
CQ:=REF(ZF,1)<=0.3;
GL:=BARSCOUNT(CLOSE)>30;
TP:=CLOSE>=REF(HHV(HIGH,30),1);
启动:CQ AND GL AND TP,LINETHICK3,COLOR00FF00;
II:=HHV(HIGH,50)-LLV(LOW,50);
HH:=BB2>=0 AND REF(BB2<0,1) AND COUNT(BB2>=0,6)<=1;
STICKLINE(启动,0,6,7,0),COLOR00BBFF;
DRAWTEXT(启动,-15,'拉'),COLORFFAA66;
庄筹估算:=EMA(WINNER(C)*70,5);
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);
控庄估算:=散筹估算- 庄筹估算;
TYP:= AMOUNT/VOL/100;
GJW1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),21)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),21);
启动线:=(HHV(HIGH,26)+LLV(LOW,26))/2;
启动快线:=(HHV(HIGH,9)+LLV(LOW,9))/2;
GJW2:=100-(100/(1+GJW1));
CCQ:=EMA(GJW2,5);
阻力一:=REF((启动线+启动快线)/2,26);
阻力二:=REF((HHV(HIGH,52)+LLV(LOW,52))/2,26);
打压区:STICKLINE(庄筹估算<散筹估算 AND 庄筹估算<控庄估算,-1,1,10,0),COLORWHITE;
CC1:=CCQ<50 AND CCQ>=40;
CC2:=CCQ>=50 AND CCQ<60;
吸筹区:STICKLINE(庄筹估算>=控庄估算 AND 庄筹估算<散筹估算 OR (控庄估算<=0) OR
(控庄估算<=0 AND (C<阻力一 OR C<阻力二)) OR (控庄估算<=0 AND
(启动线<阻力一 OR 启动线<阻力二)),-1,1,10,0),COLORGREEN;
CC3:=CCQ>=60 AND CCQ<80;
CC4:=CCQ>=80;
拉升区:STICKLINE(控庄估算<=0 AND 启动线>=阻力一 AND 启动线>=阻力二,-5,1,10,0),COLOR0000FF;
趋势线: 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);
AA:=1;
BB:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);
CC:=IF(((((AMOUNT/CLOSE)/(HHV(AMOUNT,9)/HHV(CLOSE,9)))*100)> 100),
100,(((AMOUNT/CLOSE)/(HHV(AMOUNT,9)/HHV(CLOSE,9)))*100));
DD:=(BB / CC);
CC5:=CCQ<40;
EEQ:=CC1 AND REF(CC5,1);
价异动排序:=IF(AA,(DD / REF(DD,1)),0),STICK,COLOR0000FF;
EE:=(CC / BB);
见底信号: 2.5;
MAA:=MA(CLOSE,8);
MA50:=MA(CLOSE,50);
量异动排序:=IF(AA,(EE / REF(EE,1)),0),STICK,COLORFFFF00;
AAA:=((EMA(CLOSE,5) - REF(EMA(CLOSE,5),1)) / REF(EMA(CLOSE,5),1));
BBB:=((EMA(INDEXC,5) - REF(EMA(INDEXC,5),1)) / REF(EMA(INDEXC,5),1));
PL1:=(((CLOSE - MA50) / MA50)<0.008);
PL2:=(((CLOSE - MAA) / MAA)<0.058);
CCC:=REF(HHV(CLOSE,120),1);
DDD:=REF(LLV(CLOSE,120),1);
WW:=((100 * (CLOSE - DDD)) / (CCC - DDD));
FF:=(((PL1=1) AND (PL2=1))*0.2);
DDQ:=((((FF=0) AND (REF(FF,1)=0.2)) AND (REF((COUNT((FF=0.2),10)=10),1)= 1))*1);
买点准备: IF(趋势线<=2.5,100,0);
今日资金流:=(AMOUNT/100000000);
五日资金流:=(EMA(今日资金流,5)/REF(EMA(今日资金流,5),5));
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
庄股:=((((((五日资金流>=2) AND (AAA>BBB)) AND (WW<35)) AND AA) AND
(BARSCOUNT(CLOSE)>30)) OR (((((五日资金流>=2) AND (AAA>BBB))
AND (WW<100)) AND AA) AND (BARSCOUNT(CLOSE) < 50)));
MACD:=2*(DIFF-DEA);
潜力股:=HH AND COUNT(DD,10)>=1 AND REF(MACD,1)<REF(MACD,2) AND MACD>=0 AND MACD>REF(MACD,1);
DRAWICON(FILTER(潜力股=1,3),40,1),COLORFFFF00;
YLP—实战趋势线:=SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,3,1),3,1);
庄家显形:IF(庄股,40,0),LINETHICK1,COLORFF00FF;
STICKLINE(FILTER(潜力股=1,5),36,0,2.25,0),COLORRED;
DRAWTEXT(庄股,33,'庄');
X:=SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1);
X1:=SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1);
STICKLINE(FILTER(潜力股=1,5),35,0,0.35,1),COLORRED,COLORYELLOW;
利箭出鞘:DRAWTEXT(FILTER(潜力股=1,3),37,' 利箭出鞘'),COLORYELLOW;



3、养家系列副图

X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,54);
X_3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_4:=FILTER(X_3,10);
X_5:=BARSLAST(X_4);
X_6:=REF(HIGH,X_5+2);
X_7:=REF(HIGH,X_5+1);
X_8:=REF(HIGH,X_5);
X_9:=MAX(X_6,X_7);
X_10:=MAX(X_9,X_8);
X_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_12:=X_5<150;
X_13:=(OPEN-X_10)/X_10*100<30;
X_14:=(CLOSE-LLV(LOW,X_5))/LLV(LOW,X_5)*100<50;
X_15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_16:=VOL/MA(VOL,5)<3.5;
X_17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_18:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16 AND X_17;
X_19:=FILTER(X_18,15);
X_20:=(CLOSE-X_2)/X_2<0.1;
X_21:=(CLOSE-X_1)/X_1<0.3;
X_22:=(X_20=1 AND X_21=1)*0.2;
X_23:=(X_22=0 AND REF(X_22,1)=0.2 AND REF(COUNT(X_22=0.2,10)=10,1)=1)*(-0.1);
X_24:=X_23=(-0.1);
X_25:=X_19 OR X_24;
X_26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
X_27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
X_28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
X_29:=VOL/CAPITAL*100;
X_30:=VOL>=1.9*REF(VOL,1) AND X_29>4;
X_31:=SUMBARS(X_30,1);
X_32:=STICKLINE(X_31,REF(CLOSE,X_31-1),REF(CLOSE,X_31-1),10,0);
X_33:=STICKLINE(X_31,REF(OPEN,X_31-1),REF(OPEN,X_31-1),10,0);
X_34:=IF(NAMELIKE(7),0,1);
X_35:=DYNAINFO(8)>0;
X_36:=IF(NAMELIKE(8),0,1);
X_37:=X_34 AND X_35 AND X_36;
X_38:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
X_39:=SMA(X_38,9,1);
X_40:=SMA(X_39,9,1);
X_41:=CROSS(X_39,X_40);
X_42:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
X_43:=COUNT(X_41,21)>=2;
X_44:=X_39<20;
X_45:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
X_46:=COUNT(X_42<(-8),20)>=1 AND X_42<=0 AND COUNT(X_42<=0,4)>=2;
X_47:=X_43 AND X_44 AND X_45 AND X_46;
X_48:=X_47 AND COUNT(X_47,10)=1;
X_49:=REF(CLOSE,1);
X_50:=SMA(MAX(CLOSE-X_49,0),7,1)/SMA(ABS(CLOSE-X_49),7,1)*100;
X_51:=SMA(MAX(CLOSE-X_49,0),13,1)/SMA(ABS(CLOSE-X_49),13,1)*100;
X_52:=BARSLAST(X_51<20)<=3 AND CROSS(X_50,X_51);
X_53:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100<(-12.5);
X_54:=LLV(LOW,5);
X_55:=HHV(HIGH,5);
X_56:=EMA((CLOSE-X_54)/(X_55-X_54)*100,4);
X_57:=EMA(0.667*REF(X_56,1)+0.333*X_56,2);
X_58:=X_52 AND X_53 AND CROSS(X_56,X_57) AND X_56<=25;
X_59:=DMA(EMA(CLOSE,14),SUM(VOL,5)/3/CAPITAL);
X_60:=(CLOSE-X_59)/X_59*100;
X_61:=X_60<(-38);
X_62:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
X_63:=(CLOSE-X_62)/X_62*100;
X_64:=REF(X_63,1)<(-37) AND X_63>REF(X_63,1) AND REF(X_63,1)<REF(X_63,2) AND REF(X_63,2)-REF(X_63,1)>1;
X_65:=X_61 OR X_64 AND VOL/CAPITAL*100<6;
X_66:=X_65 AND COUNT(X_65,10)=1;
X_67:=(HIGH-LOW)/HIGH*100+(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_68:=EMA(MA(X_67,50),5);
X_69:=X_68>LLV(X_68,5)*1.01 AND REF(X_68,1)<REF(LLV(X_68,5),1)*1.01 AND LLV(X_68,50)=LLV(X_68,5);
X_70:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;
X_71:=X_69 AND X_70;
X_72:=X_48 OR X_58 OR X_66 OR X_71 AND X_37;
X_73:=CLOSE/REF(CLOSE,1)>1.05 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_74:=FILTER(X_73,28)*100;
X_75:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CLOSE>REF(CLOSE,1),91,0);
X_76:=FILTER(X_75>90,45) AND FILTER(X_75>90,35) AND X_74>0;
X_77:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
X_78:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_77),0);
X_79:=HHV(X_78,0);
X_80:=20;
X_81:=MA(CLOSE,55);
X_82:=(CLOSE-X_81)/X_81*100;
X_83:=55;
X_84:=X_80+X_83;
X_85:=(CONST(REF(HHV(X_82,X_83),X_80))/100+1)*X_81;
X_86:=(CONST(LLV(X_82,X_84))/100+1)*X_81;
X_87:=(X_86+X_85)/2;
X_88:=CLOSE/REF(CLOSE,1)>=1.094 AND CLOSE=HIGH AND HIGH>LOW;
妖股:X_25 AND CLOSE/REF(CLOSE,1)>1.095 AND X_28 AND NOT(OPEN>=REF(CLOSE,1)*1.096) AND X_78=X_79 AND REF(X_79,1)>REF(X_78,1) AND CROSS(CLOSE,X_32) AND CROSS(CLOSE,X_33)
 AND CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH AND X_76 AND COUNT(X_76,60)=1,COLORRED;
抄底:LOW<=X_86 AND COUNT(LOW<=X_86,BARSLAST(妖股))=1 AND BARSLAST(妖股)>2,COLORCYAN;
加仓:X_88 AND COUNT(X_88,BARSLAST(妖股))=1 AND LOW<=X_87 AND BARSLAST(妖股)>5,COLORMAGENTA;
STICKLINE(妖股,0.2,0.45,8,0),COLORRED;
STICKLINE(妖股,0.45,0.72,8,0),COLORYELLOW;
STICKLINE(妖股,0.72,1,8,0),COLORMAGENTA;
DRAWTEXT(妖股,0.4,'←妖股'),COLORYELLOW;
STICKLINE(抄底,0.2,0.45,8,0),COLORCYAN;
STICKLINE(抄底,0.45,0.72,8,0),COLORYELLOW;
STICKLINE(抄底,0.72,1,8,0),COLORRED;
DRAWTEXT(抄底,0.67,'←抄底'),COLORCYAN;
STICKLINE(加仓,0.2,0.45,8,0),COLORMAGENTA;
STICKLINE(加仓,0.45,0.72,8,0),COLORRED;
STICKLINE(加仓,0.72,1,8,0),COLORYELLOW;
DRAWTEXT(加仓,0.95,'←加仓'),COLORMAGENTA;

上一篇:通达信源码:大师操盘,散户找底看盘,V型反转

下一篇:通达信源码:金钻公式,个股指数,B宝塔线副图