决策主力股票论坛|今日股市行情大盘分析查询

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 2634.05 +31.90 +1.23% 香港恒生 26457.580 +270.869 +1.03% 日经225 21807.00 +204.25 +0.95% 韩国综合 2099.02 +16.45 +0.79%
道琼斯 24527.27 +157.03 +0.64% 纳斯达克 7098.31 +66.48 +0.95% 英国富时 6886.05 +79.11 +1.16% 德国DAX 10950.46 +169.95 +1.58%
人民币 6.8664 -0.0136 -0.20% 原油 51.28 +0.2541% NYMEX原油 黄金 1251.4 +0.1120% COMEX黄金全球股市行情 2018年12月13日15时07分
查看: 126307|回复: 49

[通达信] 一招制胜

[复制链接]
发表于 2012-4-6 11:21:29 | 显示全部楼层 |阅读模式
本帖最后由 罗雨云 于 2012-4-26 22:32 编辑

11.JPG
EMA13:=EMA(C,13)NODRAW;
EMA21:=EMA(C,21)NODRAW;
EMA34:=EMA(C,34),NODRAW;
EMA60:=MA(C,60),NODRAW;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←'),COLORLIRED;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'→'),COLORGREEN;
DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);
DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);
VAR9:=CLOSE-REF(CLOSE,5);
VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);
VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);
卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);
DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),NODRAW;
S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),NODRAW;
VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),LINETHICK3,COLORGREEN;
A0:=(L+H+C*2)/4;
A1:EMA(A0,5),NODRAW;
A2:=EMA(A0,10),NODRAW;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;
STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;
STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;
STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;
MAA5:MA(C,5),NODRAW;
MAA10:=MA(C,10)NODRAW;
MAA30:MA(C,30),NODRAW;
KS:IF(MAA10>MAA30,MAA10,MAA30),NODRAW;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,NODRAW;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW ;
PP3:EMA(C,3),NODRAW;
PP5:EMA(C,5),NODRAW;
PPP:EMA(PP5,5),NODRAW;
NX:MA(C,250),NODRAW;
QSX:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),NODRAW;
HHV1:=HHV(HIGH,60);
LLV1:=LLV(LOW,60);
Z1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Z2:=REF(Z1,1);
Z3:=SMA((CLOSE-Z2),6,1)/SMA(ABS(CLOSE-Z2),6,1)*100;
Z4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Z5:=EMA(0.667*REF(Z4,1)+0.333*Z4,5);
Z6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(Z4>=Z5 AND Z4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
Z7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
Z8:=SMA(MAX(Z1-Z2,0),10,1)/SMA(ABS(Z1-Z2),10,1)*100;
Z9:=IF(COUNT(Z8<20,5)>=1 AND COUNT(Z1=LLV(Z1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
VARR3:=LLV(HIGH,240);
VARR4:=100*(CLOSE-VARR3)/VARR3;
VARR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VARR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VARR7:=0;
VARR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VARR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VARR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)
<=REF(ZIG(3,6),3);
VARR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)
>=REF(ZIG(3,6),3);
VARR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG
(3,22),2)<=REF(ZIG(3,22),3);
VARR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG
(3,22),2)>=REF(ZIG(3,22),3);
VARR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG
(3,51),2)<=REF(ZIG(3,51),3);
VARR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG
(3,51),2)>=REF(ZIG(3,51),3);
VARR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG
(3,72),2)<=REF(ZIG(3,72),3);
VARR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG
(3,72),2)>=REF(ZIG(3,72),3);
VARR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=VARR10;
买2:=(VARR11+VARR13+VARR15+VARR17);
卖1:=(VARR12+VARR14+VARR16+VARR18);
BB:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买入'),COLORRED;
S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
DRAWTEXT(卖1>0,HIGH*1.02,'卖出'),COLORGREEN;
{股灵吧决策}
VARR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VARR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VARR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
FF:IF(CROSS(VARR200,MA(VARR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;
年:MA(CLOSE,22),LINETHICK2,COLORWHITE;
AA1:=MA(C,5);
BB1:=MA(C,15);
AF:=CROSS(AA1,BB1);
VAR01:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR02:=HIGH-REF(HIGH,1);
VAR03:=REF(LOW,1)-LOW;
VAR04:=SUM(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),25);
VAR05:=SUM(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),25);
VAR06:=VAR04*100/VAR01;
VAR07:=VAR05*100/VAR01;
VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);
VAR09:=(VAR08+REF(VAR08,15))/2;
A:=(VAR07>VAR06 AND VAR07>25 AND VAR06<25);
B:=ZIG(3,50/5)*100,NODRAW;
G:=MA(B,2),NODRAW;
D:=CROSS(B,G)*1000,NODRAW;
W:=CROSS(G,B)*1000,NODRAW;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,H*1.05,'卖' );
DRAWTEXT(D=1000,L*0.95,'买');
回复

使用道具 举报

发表于 2012-4-6 12:49:25 | 显示全部楼层

点评

学习  发表于 2013-2-21 20:14
回复 支持 反对

使用道具 举报

发表于 2012-4-7 12:09:12 | 显示全部楼层

点评

学习  发表于 2013-2-21 20:14
回复 支持 反对

使用道具 举报

发表于 2012-4-8 10:44:53 | 显示全部楼层
{:soso_e163:}{:soso_e179:}

点评

学习  发表于 2013-2-21 20:14
回复 支持 反对

使用道具 举报

发表于 2012-4-17 15:08:01 | 显示全部楼层
谢谢分享。。。。。。

点评

学习  发表于 2013-2-21 20:14
回复 支持 反对

使用道具 举报

发表于 2012-4-17 17:28:52 | 显示全部楼层
看图不错,函数太多了。那也谢谢你

点评

学习  发表于 2013-2-21 20:15
回复 支持 反对

使用道具 举报

发表于 2012-4-17 17:51:03 | 显示全部楼层
感谢分享,楼主辛苦

点评

学习  发表于 2013-2-21 20:15
回复 支持 反对

使用道具 举报

发表于 2012-4-18 20:19:37 | 显示全部楼层
{:soso_e178:}

点评

学习  发表于 2013-2-21 20:15
回复 支持 反对

使用道具 举报

发表于 2012-4-20 23:32:47 | 显示全部楼层
{:soso_e178:}

点评

学习  发表于 2013-2-21 20:15
回复 支持 反对

使用道具 举报

发表于 2012-4-23 00:16:13 | 显示全部楼层
谢谢分享。。。。。。

点评

学习  发表于 2013-2-21 20:15
回复 支持 反对

使用道具 举报

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

本版积分规则



手机版|今日股市行情|联系我们|决策主力股票论坛 ( 鄂ICP备15023833号-1)点击这里给我发消息 鄂公网安备 42062502000040号

GMT+8, 2018-12-15 13:26

Powered by 今日股市

© 2001-2017 http://jue-ce.com/

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