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

通达信源码:超级拐点,买卖MACD 主力清洗,龙头股

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

超级拐点:

用法说明:

1、用法简单,傻瓜操盘:
主图黄色持股,绿色持币,出现“turning point”信号,有望拐点出现,弱转强!附图出现信号柱,是底部区域信号,可择机买入,获利丰厚!
2、建议多共振使用,信号叠加:
如附图柱体和主图趋势持股信号结合,TURNING POINT信号跟附图信号结合,还有和MACD KDJ信号结合,个人认为,炒股就是博取概率,有效性的叠加多点,相对获利的概率要大点!
 
2个配套选股预警指标

DRAWGBK(O>C,RGB(48,41,124),RGB(0,0,0),0,'1',0);
A1:=EMA(CLOSE,13)-EMA(CLOSE,55);
A2:=EMA((0.618*REF(A1,1)+0.382*A1),3);
STICKLINE(A1>=A2,H,L,0,0),COLOR00FFFF;
STICKLINE(A1>=A2,O,C,-1,0),COLOR0099DD;
STICKLINE(A1>=A2,O,C,2,0),COLOR00ABEE;
STICKLINE(A1>=A2,O,C,1,0),COLOR00DDFF;
STICKLINE(A1>=A2,O,C,0.1,0),COLOR00FFFF;
STICKLINE(A1<A2,H,L,0,0),COLOR00FF00;
STICKLINE(A1<A2,O,C,-1,0),COLOR009900;
STICKLINE(A1<A2,O,C,2,0),COLOR00AB00;
STICKLINE(A1<A2,O,C,1,0),COLOR00DD00;
STICKLINE(A1<A2,O,C,0.1,0),COLOR00FF00;
P1:=EMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5);
P2:=(HHV(HIGH,55)-LLV(LOW,55))/EMA((CLOSE-LLV(LOW,55)),5);
P3:=CROSS(P2,P1);
P4:=REF(P2,2)<REF(P2,1) AND P2<REF(P2,1);
P5:=COUNT(P3,7)>0 AND P4;
P6:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1)-2*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1);
P7:= (CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
MW:= EMA(P6,5);
NU:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
NU0:=SMA(NU,3,1);
NU00:=SMA(NU0,3,1);
NU10:=3*NU0-2*NU00;
NU1:=EMA(3*NU0-2*NU00,4);
NU2:=SMA(NU1,5,1);
NW:=MA(3*SMA(P7,6,1)-2*SMA(SMA(P7,5,1),5,1),2);
HW:=CROSS(NW,0) AND MW<56;
DP:=IF(P5 AND COUNT(P5,5)=1,1,0);
TP:=(HW AND DP) OR ((CROSS(IF(P6<3 AND NU2<5 AND NW<4,1,0),0.5))AND LLV(L,34)/HHV(H,144)<0.78),NODRAW;
STICKLINE(TP,H,L,0,0),COLOR0000FF;
STICKLINE(TP,O,C,-1,0),COLOR000099;
STICKLINE(TP,O,C,2,0),COLOR0000AB;
STICKLINE(TP,O,C,1,0),COLOR0000DD;
STICKLINE(TP,O,C,0.1,0),COLOR0000FF;
DRAWTEXT(TP,C*0.96,'TURNING POINT'),COLORRED;




买卖MACD 主力清洗:

买卖MACD,是自用指标,提示比较清晰,
买点出现可以等金叉再买,卖点出现不要犹豫。
请配合其他指标一起使用,效果更好

{主力清洗}
VAR1:=REF((LOW + OPEN + CLOSE + HIGH) / 4, 1);
VAR2:=SMA (ABS (LOW - VAR1), 13,1) / SMA (MAX(LOW-VAR1, 0),10,1);
VAR3:= EMA (VAR2, 10);
VAR4:= LLV (LOW, 33);
VAR5:= EMA(IF(LOW <= VAR4, VAR3, 0), 3);
Z:0, COLORWHITE;
主力进场:IF (VAR5>REF (VAR5,1),VAR5,0),COLORRED, NODRAW;
洗盘:IF (VAR5 < REF (VAR5,1), VAR5, 0), COLORGREEN, NODRAW;
STICKLINE (VAR5 < REF (VAR5,1), 0, VAR5, 3, 0), COLORGREEN;
STICKLINE (VAR5 > REF (VAR5,1), 0, VAR5, 3, 0), COLOR000055;
STICKLINE (VAR5 > REF (VAR5, 1), 0, VAR5, 2.6, 0),COLOR000077;
STICKLINE (VAR5 > REF (VAR5, 1), 0,VAR5, 2.1, 0), COLOR000099;
STICKLINE (VAR5 > REF (VAR5,1),0,VAR5,1.5, 0), COLOR0000BB;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.9, 0), COLOR0000DD;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.3, 0), COLOR0000FF;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,3,0), COLOR005500;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,2.6,0), COLOR007700;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,2.1, 0), COLOR009900;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,1.5, 0), COLOR00BB00;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,0.9, 0), COLOR00DD00;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,0.3, 0), COLOR00FF00;
VAR21:=SMA (ABS (HIGH - VAR1), 13, 1) / SMA (MIN (HIGH-VAR1, 0),10,1);
VAR31:=EMA (VAR21, 10);
VAR41:=HHV (HIGH, 33);
VAR51:= EMA(IF(HIGH >= VAR41, VAR31, 0), 3);
主力拉高:IF(VAR51<REF (VAR51,1),VAR51,0),COLORYELLOW,NODRAW;
STICKLINE (VAR51 < REF (VAR51, 1), 0, VAR51, 3,0), COLORYELLOW;
出货: IF (VAR51 >REF (VAR51,1), VAR51, 0), COLORCYAN, NODRAW;
STICKLINE (VAR51 > REF (VAR51, 1), 0, VAR51,3,0), COLORCYAN;

{买卖MACD}
 
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(VAR9 AND CROSS(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)) AND J>10;
换手:= VOL/CAPITAL*100, , COLORYELLOW;
成交〖万手〗:=VOL/10000, ,COLORWHITE;
 DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),-10{15},'近底部'),LINETHICK1,COLORYELLOW;
 STICKLINE(VAR8=10 AND FILTER(VAR8=10,5),-1.6{20},-10,5,0),COLORYELLOW;
 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),1)) AND (REF(ZIG(3,5),1)>=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(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
 DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动'),LINETHICK1,COLORFF00FF;
 {STICKLINE(VAR11 AND COUNT(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>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
 VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-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>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
 VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
 DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货'),LINETHICK1,COLORFFCC66;
 STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;



龙头股:

龙头股介绍:
强者恒强是股市颠扑不破的真理,妖股都是从涨停板开始。我们不做首版,但我们从首版起步。这就是本指标的初衷;
用法:每天晚上下载数据后选股,次日的涨停板就从这里选择入手啦!!

 {公式名称: 龙头股

公式类型: 条件选股公式-其他类型
}
X_1:=EMA(EMA(EMA(HIGH,13),13),13);
X_2:=EMA(EMA(EMA(HIGH,5),5),5);
X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_4:=FINANCE(7)<1200000000;
X_5:=IF(NAMELIKE(1),0,1);
X_6:=IF(NAMELIKE(2),0,1);
X_7:=BARSCOUNT(CLOSE)>60;
X_8:=REF(CLOSE,1)<89;
X_9:=REF(CLOSE,1)>3;
X_10:=DYNAINFO(17)>0;
X_11:=IF(CODELIKE(3),0,1);
X_12:=OPEN>X_2 AND X_2>X_1;
X_13:=X_3>9.85 AND NOT(OPEN=CLOSE);
X_14:=HORCALC(HYBLOCK,105,1,DRAWNULL)<=5;
S12:X_4 AND X_5 AND X_6 AND X_7 AND X_8 AND X_9 AND X_10 AND X_11 AND X_13 AND X_14;

上一篇:通达信源码:行业分析加强版,简单一击,通达信图标

下一篇:通达信源码:红线横盘,短线狙击,做空指标