找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 1741|回复: 4

回复(本论坛最好的两个大智慧黄金主图,请高手合二为一!)

[复制链接]
发表于 2010-1-12 17:30 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我是通达信的
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;
{通用条件}
LAST3K:=CURRBARSCOUNT>4;
上涨:=REF(CLOSE,3)>REF(CLOSE,4);
未跌破:=REF(CLOSE,2)>REF(LOW,3) AND REF(CLOSE,1)>REF(LOW,3) AND CLOSE>REF(LOW,3);
缩量:=REF(VOL,3)>0.35*(REF(VOL,1)+REF(VOL,2)+VOL) AND REF(VOL,3)>REF(VOL,2);{1.05/3,5%}
逐级缩量:=REF(VOL,3)>=REF(VOL,2) AND REF(VOL,2)>=REF(VOL,1) AND REF(VOL,1)>=VOL;{平量也看成缩量}
逐级价升:=REF(CLOSE,3)<REF(CLOSE,2) AND REF(CLOSE,2)<=REF(CLOSE,1) AND REF(CLOSE,1)<=CLOSE;
{倍量柱}
倍量柱1:=(REF(VOL,3)>=REF(VOL,4)*1.91),NODRAW;{实际给1.91倍}
倍量柱:VOL>REF(VOL,1)*1.91,NODRAW,COLORWHITE;
{高量柱}
高量柱1:=REF(VOL,3)>0.25*(REF(SUM(VOL,3),4)+SUM(VOL,3)) AND REF(VOL,3)>REF(VOL,4) AND REF(VOL,3)>REF(VOL,2),NODRAW,COLORWHITE;{1.5/6,1.5倍}
TEMP1:=BACKSET(高量柱1,4);
高量柱:FILTER(TEMP1,3),NODRAW,COLORWHITE;
{将军柱}
将军柱1:=上涨 AND 未跌破 AND (倍量柱1 OR 高量柱1),NODRAW,COLORYELLOW;
{黄金柱}
黄金柱1:=将军柱1 AND 缩量,NODRAW,COLORYELLOW;
{标准黄金柱}
标准黄金柱1:=黄金柱1 AND 逐级缩量 AND 逐级价升,NODRAW,COLORRED;
将军柱2:=将军柱1 AND 黄金柱1=0 AND BARSLAST(REF(将军柱1,1))>1;
黄金柱2:=黄金柱1 AND 标准黄金柱1=0 AND BARSLAST(REF(将军柱1,1))>1;
将军柱3:=BACKSET(将军柱2,4);
将军柱:FILTER(将军柱3,3),NODRAW,COLORWHITE;
黄金柱3:=BACKSET(黄金柱2,4);
黄金柱:FILTER(黄金柱3,3),NODRAW,COLORYELLOW;
标准黄金柱2:=BACKSET(标准黄金柱1,4);
标准黄金柱:FILTER(标准黄金柱2,3),NODRAW,COLORRED;
{输出,规则是连续都满足条件则取第一个}
DRAWICON(LAST3K AND 标准黄金柱,HIGH*1.01,26),COLORRED;
DRAWICON(LAST3K AND 黄金柱,HIGH*1.01,25),COLORRED;
DRAWICON(LAST3K AND 将军柱,HIGH*1.01,24),COLORRED;
STICKLINE(C,REF(L,BARSLAST(标准黄金柱)),REF(L,BARSLAST(标准黄金柱)),2,0),COLORYELLOW;
STICKLINE(C,REF(L,BARSLAST(黄金柱)),REF(L,BARSLAST(黄金柱)),2,0),COLORYELLOW;
STICKLINE(C,REF(H,BARSLAST(黄金柱)),REF(H,BARSLAST(黄金柱)),2,0),COLORCYAN;

发表于 2010-8-15 17:28 | 显示全部楼层
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);

回复

使用道具 举报

发表于 2013-3-16 22:18 | 显示全部楼层
谢谢分享,好好学习。
回复

使用道具 举报

发表于 2019-5-1 08:20 | 显示全部楼层
                                 
指标通达信测试通不过、
谢谢分享,好好学习。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-24 04:50 , Processed in 0.111236 second(s), Total 15, Slave 13 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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