当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:牛股突破套装指标,四合一,源码分享
软件名称:[B]牛股突破套装指标,四合一,源码分享[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2023-07-05 00:16:03
软件简介:
牛股突破套装指标,四合一
要结合大盘情况来进行操作,小票强时再做
要做好止损线,纪律严格执行,保住本金
不是给了信号就直接杀进去,要结合当下热点进行操作
另外:
牛股换手里可以加上以下三行说明,适合小白,高手绕过,是否增加,按自己需要决定
源码如下:
DRAWTEXT_FIX(C>0,0.02,0.03,0,STRCAT('注意: (1).强势股和潜在强势股,只要看十天换手就知道了。有没有庄根本逃不了你的眼睛。 ',0)),COLOR66EEEE;
DRAWTEXT_FIX(C>0,0.02,0.06,0,STRCAT('注意: (2).十天换手80以上的有强庄,当前若横盘或阴线洗盘的话,你就进去。 ',0)),COLORGREEN;
DRAWTEXT_FIX(C>0,0.02,0.09,0,STRCAT('注意: (3).如果在30以上那么看此庄家是否还在做高抛低吸。盘口显示高抛低吸的话就说明庄家筹码不够。等一等进。 ',0)),COLORWHITE;
{牛股吸筹}
吸筹线1:=COST(50)*COST(50)/COST(80);
吸筹线2:=COST(40)*COST(40)/COST(60);
差:吸筹线2-吸筹线1,NODRAW;
STICKLINE(差>0 AND C>吸筹线2,0,差,2,0),COLORRED;
STICKLINE(差>0 AND C>吸筹线2 AND C< MA(C,10),0,差*0.2,2,0),COLORYELLOW;
STICKLINE(差>0 AND C< 吸筹线2,0,差,2,0),COLORCYAN;
STICKLINE(差>0 AND C< 吸筹线2 AND C< 吸筹线1,0,差*0.5,2,0),COLORBLUE;
STICKLINE(差>0 AND C< 吸筹线2 AND C< 吸筹线1,差*0.5,差,2,0),COLORYELLOW;
STICKLINE(差< 0,0,差,2,0),COLORCYAN;
STICKLINE(差< 0 AND C>吸筹线1,0,差,2,0),COLORMAGENTA;
STICKLINE(差< 0 AND C>吸筹线1 AND C< MA(C,5),0,差*0.2,2,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,1.5 ,0,'绿空仓-粉重仓-红满仓-红绿相间1/3-粉绿相间1/2'),COLORYELLOW;
{牛股换手}
XA_1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
XA_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.096 AND CLOSE=HIGH;
XA_3:=XA_1>=REF(VOL,1)*1.9 AND (CLOSE>REF(CLOSE,1) OR CLOSE>OPEN);
XA_4:=XA_1< REF(XA_1,1);
XA_5:=EVERY(XA_4,3);
XA_6:=XA_1=HHV(XA_1,10) AND XA_1>1.7*REF(VOL,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=OPEN AND HIGH-CLOSE< CLOSE-OPEN;
换手:XA_1*10000/FINANCE(7),VOLSTICK;
五日换手:SUM(换手,5),NODRAW;
十日换手:SUM(换手,10),NODRAW;
二十日换手:SUM(换手,20),NODRAW;
XA_7:=SUM(换手,60);
XA_8:=SUM(换手,120);
XA_9:=MA(换手,5);
平均换手5日:XA_9,NODRAW;
XA_10:=MA(换手,10);
平均换手10日:XA_10,NODRAW;
XA_11:=MA(换手,120);
平均换手120日:XA_11;
XA_12:=AMOUNT/VOL/100;
XA_13:=MA(CLOSE,5);
XA_14:=MA(CLOSE,6);
XA_15:=MA(CLOSE,7);
XA_16:=MA(CLOSE,8);
XA_17:=MA(CLOSE,9);
XA_18:=MA(CLOSE,10);
XA_19:=MA(CLOSE,11);
XA_20:=MA(CLOSE,12);
XA_21:=MA(CLOSE,13);
XA_22:=MA(CLOSE,14);
XA_23:=MA(CLOSE,15);
XA_24:=MA(CLOSE,16);
XA_25:=MA(CLOSE,17);
XA_26:=MA(CLOSE,18);
XA_27:=MA(CLOSE,19);
XA_28:=MA(CLOSE,20);
XA_29:=MA(CLOSE,21);
XA_30:=MA(CLOSE,22);
XA_31:=MA(CLOSE,23);
XA_32:=MA(CLOSE,24);
XA_33:=MA(CLOSE,25);
XA_34:=MA(CLOSE,26);
XA_35:=MA(CLOSE,27);
XA_36:=MA(CLOSE,28);
XA_37:=MA(CLOSE,29);
XA_38:=MA(CLOSE,30);
XA_39:=MA(CLOSE,31);
XA_40:=MAX(MAX(MAX(MAX(XA_13,XA_14),XA_15),XA_16),XA_17);
XA_41:=MAX(MAX(MAX(MAX(XA_18,XA_19),XA_20),XA_21),XA_22);
XA_42:=MAX(MAX(MAX(MAX(XA_23,XA_24),XA_25),XA_26),XA_27);
XA_43:=MAX(MAX(MAX(MAX(MAX(XA_28,XA_29),XA_30),XA_31),XA_32),XA_33);
XA_44:=MAX(MAX(MAX(MAX(MAX(XA_34,XA_35),XA_36),XA_37),XA_38),XA_39);
XA_45:=MAX(MAX(MAX(MAX(XA_40,XA_41),XA_42),XA_43),XA_44);
XA_46:=IF(XA_45=XA_13,5,IF(XA_45=XA_14,6,IF(XA_45=XA_15,7,IF(XA_45=XA_16,8,IF(XA_45=XA_17,9,IF(XA_45=XA_18,10,IF(XA_45=XA_19,11,IF(XA_45=XA_20,12,IF(XA_45=XA_21,13,IF(XA_45=XA_22,14,IF(XA_45=XA_23,15,IF(XA_45=XA_24,16,IF(XA_45=XA_25,17,IF(XA_45=XA_26,18,IF(XA_45=XA_27,19,IF(XA_45=XA_28,20,IF(XA_45=XA_29,21,IF(XA_45=XA_30,22,IF(XA_45=XA_31,23,IF(XA_45=XA_32,24,IF(XA_45=XA_33,25,DRAWNULL)))))))))))))))))))));
XA_47:=IF(XA_45=MA(CLOSE,XA_46),XA_46,IF(XA_45=XA_34,26,IF(XA_45=XA_35,27,IF(XA_45=XA_36,28,IF(XA_45=XA_37,29,IF(XA_45=XA_38,30,IF(XA_45=XA_39,31,DRAWNULL)))))));
XA_48:=IF(BARSCOUNT(CLOSE)>=31,(XA_45*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
XA_49:=XA_48;
XA_50:=XA_1=HHV(XA_1,XA_47);
XA_51:=XA_1=LLV(XA_1,XA_47);
STICKLINE(XA_50 AND CLOSE<=OPEN,XA_1*10000/FINANCE(7),0,1.5,0),COLORGREEN;
STICKLINE(XA_50 AND CLOSE>OPEN,XA_1*10000/FINANCE(7),0,1.5,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VOL*10000/FINANCE(7),0,0.5,(-1)),COLOR00C0C0;
DRAWNUMBER(XA_1>MA(XA_1,120)*3,换手,ROUND(XA_1/MA(XA_1,120)));
IF(EVERY(换手<=XA_11,30),XA_11,DRAWNULL),COLORBLUE,LINETHICK4;
STICKLINE(REF(EVERY(换手<=XA_11,30),1) AND XA_3 AND 换手>XA_11,0,0,5,0),COLORYELLOW;
量顶:REF(REF(换手,BARSLAST(换手=HHV(换手,XA_47))),1),DOTLINE,COLORGRAY;
XA_52:=MA(换手,XA_47);{分析家公式网WWW.70822.com}
STICKLINE(量顶< XA_11,换手,量顶,3,0),COLORBLUE;
STICKLINE(换手>量顶,换手,量顶,1.5,0),COLORYELLOW;
{红黄绿带}
XA_2:=1;
XA_3:=MAX(MA(CLOSE,20),MA(CLOSE,120));
XA_4:=MIN(MA(CLOSE,20),MA(CLOSE,120));
长线CX绿灯持股:CLOSE>XA_3*XA_2,COLORGREEN;
长线CX红灯卖出:CLOSE< XA_4*XA_2,COLORRED;
长线CX黄灯观望:CLOSE>=XA_4*XA_2 AND CLOSE<=XA_3,COLORYELLOW;
STICKLINE(CLOSE>XA_3*XA_2,0,1,4,0),COLORGREEN,LINETHICK2;
STICKLINE(CLOSE< XA_4*XA_2,0,1,4,0),COLORRED,LINETHICK2;
STICKLINE(CLOSE>=XA_4*XA_2 AND CLOSE<=XA_3,0,1,4,0),COLORYELLOW,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-168291.html]牛股突破套装指标,四合一,源码分享[/url]