通达信【牛股密码】套装指标 操作要领 源码
一、【牛股密码】指标简介:
1、操盘线在界点线下方,建议不操作,减少风险(要做也视作短线反弹)。
2、K线为红色时以持股为主,绿色时以持币为主(仓位的控制,自己确定)。
二、【牛股密码】操作要领:
1、有时间盯盘的按15分钟短线波段操作,只做"吃鱼身子"的上升行情;
2、没时间看盘的按60分钟做波段操作,也能将"鱼"吃干净;
3、长线爱好者用周线可免盯、看盘之苦,安然做"投资";
4、中线爱好者用日线可安然做波段,避免坐"电梯";
5、短线爱好者用30分钟线看盘可享受"冲浪"的快乐,安全做"投机";
6、高手中的高手用1分钟线盯盘可享受"权证"的盛宴,"痛并快乐着"。
三、【牛股密码】操作要点:
1、定位:量身定做一套发挥"自身条件"的操作方案,严守买卖纪律。
2、定势:趋势方向的判定,信自己的"感觉",顺势者心自顺。
3、定量:针对不同(个股)行情阶段,严控投入资金比例,进退自如,先
立于不败之地。
4、定律:破底莫入、破顶莫追,顺势而为,"积沙成丘"。
均价线:=AMOUNT/V/100;
涨停:=IF(REF(C,1)*1.1-C< 0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,1.35,0),COLORRED,COLORYELLOW;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1W:='┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1W),COLORGREEN;
B3W:='┄┄┄┄';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3W),COLORMAGENTA;
B2W:='┄┄┄┄';
DRAWTEXT(涨停,L,B2W),COLORGRAY;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,20)*20+C,55);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(买线< 卖线,LOW,HIGH,0.0,1),COLORCYAN;
STICKLINE(买线< 卖线,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLOR00FFFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,2.2,0),COLORFF0000;
DRAWTEXT(涨停,H*0.998,' --牛'),COLORMAGENTA;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(16*MID+15*REF(MID,1)+ 14*REF(MID,2)+13*REF(MID,3)+12*REF(MID,4)+11*REF(MID,5)+10*REF(MID,6)+9*REF(MID,7)+ 8*REF(MID,8)+7*REF(MID,9)+6*REF(MID,10)+5*REF(MID,11)+4*REF(MID,12)+3*REF(MID,13)+ 2*REF(MID,14)+REF(MID,15))/135,COLORRED;
马线:EMA(牛线,5),COLORGREEN;
水平面:MA(CLOSE,31),DOTLINE,COLORYELLOW;
ABC1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
ABC2:=REF(ABC1,1);
ABC3:=SMA((CLOSE-ABC2),6,1)/SMA(ABS(CLOSE-ABC2),6,1)*100;
ABC4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
ABC5:=EMA(0.667*REF(ABC4,1)+0.333*ABC4,5);
ABC6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(ABC4>=ABC5 AND ABC4< -17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
ABC7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
ABC8:=SMA(MAX(ABC1-ABC2,0),10,1)/SMA(ABS(ABC1-ABC2),10,1)*100;
ABC9:=IF(COUNT(ABC8< 20,5)>=1 AND COUNT(ABC1=LLV(ABC1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(CROSS(买线,卖线) AND H/C< 1.03,L*0.999,1);
DRAWICON(CROSS(卖线,买线) ,H*1.02,2);
DRAWICON(CROSS(牛线,马线) AND H/C< 1.03,L*0.999,5);
ABC1X:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),20);
ABC2X:=HIGH-REF(HIGH,1);
ABC3X:=REF(LOW,1)-LOW;
ABC4X:=SUM(IF(ABC2X>0 AND ABC2X>ABC3X,ABC2X,0),20);
ABC5X:=SUM(IF(ABC3X>0 AND ABC3X>ABC2X,ABC3X,0),20);
ABC6X:=ABC4X*100/ABC1X;
ABC7X:=ABC5X*100/ABC1X;
ABC8X:=MA(ABS(ABC7X-ABC6X)/(ABC7X+ABC6X)*100,10);
ABC9X:=(ABC8X+REF(ABC8X,10))/2;
DIF:=EMA(CLOSE,10)-EMA(CLOSE,20);
DEA:=EMA(DIF,7);
MACD:=(DIF-DEA)*2;
JJ:=DIF>DEA;
A:=(ABC7X>ABC6X AND ABC7X>25 AND ABC6X< 25);
AA:=REF(A,1) AND A=0 AND JJ AND C/REF(C,1)< 1.02 AND C/REF(C,1)>1 AND MA(C,5)>MA(C,10);
DRAWTEXT(AA,L*0.99,'买入关注'),COLORYELLOW;
A11:=CLOSE/MA(CLOSE,35);
A22X:=CLOSE/MA(CLOSE,55)*100< 77;
代号:=CROSS(A11,A22X) AND C>O AND 买线>=卖线;
DRAWTEXT(代号,L*0.96,'-★牛股密码 --'),COLOR00FFFF;
DRAWICON(代号,L,25);