找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 5047|回复: 105

通达信异动抓板副图指标源码

 火.. [复制链接]
发表于 2016-1-15 21:41 | 显示全部楼层 |阅读模式

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

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

×
{N字涨停}
A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);
A2:=REF(C,1)<REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)<REF(C,3);
A3:=L/REF(O,3)<1.03 AND C>REF(C,3);
N字涨停:A1 AND A2 AND A3,COLORWHITE;
{长上影线 + 次日突破上影顶}
AB1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
AB2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);
AB3:=O<REF(O,1) AND C>REF(H,1);
突破上影:AB1 AND AB2 AND AB3,COLORYELLOW;
{突破放量假阴}
ZA1:=REF(O,1)>REF(H,2) AND REF(C,1)<REF(O,1) AND REF(H,1)=REF(O,1);
ZA2:=REF(V,1)=HHV(V,15) AND REF(V,1)/REF(V,2)>=3 AND REF(C,1)/REF(C,2)>1.02;
ZA3:=C>REF(H,1);
突破假阴:ZA1 AND ZA2 AND ZA3,COLORGREEN;
{先跌停后涨停}
AC1:=REF(C,1)/REF(C,2)<0.92;
AC2:=C>REF(O,1) AND C/REF(C,1)>1.05;
AC3:=O/REF(C,1)<1.09;
先跌停后涨停:AC1 AND AC2 AND AC3,COLORRED;



{异动抓板选股指标}
A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);
A2:=REF(C,1)<REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)<REF(C,3);
A3:=L/REF(O,3)<1.03 AND C>REF(C,3);
XG1:=A1 AND A2 AND A3;
AB1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
AB2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);
AB3:=O<REF(O,1) AND C>REF(H,1);
XG2:=AB1 AND AB2 AND AB3;
ZA1:=REF(O,1)>REF(H,2) AND REF(C,1)<REF(O,1) AND REF(H,1)=REF(O,1);
ZA2:=REF(V,1)=HHV(V,15) AND REF(V,1)/REF(V,2)>=3 AND REF(C,1)/REF(C,2)>1.02;
ZA3:=C>REF(H,1);
XG3:=ZA1 AND ZA2 AND ZA3;
AC1:=REF(C,1)/REF(C,2)<0.92;
AC2:=C>REF(O,1) AND C/REF(C,1)>1.05;
AC3:=O/REF(C,1)<1.09;
XG4:=AC1 AND AC2 AND AC3;
ST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
停牌:=DYNAINFO(4)>0;
ZHXGXG1 OR XG2 OR XG3 OR XG4) AND (ST AND 停牌);
发表于 2017-1-14 21:22 | 显示全部楼层
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),COLORGREEN;
主力进: IF(V4>=0,V4,0);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:
IF(VB>=0,VB,0),COLORYELLOW;
大盘资金撤走:
IF(VB<=0,VB,0),COLORRED;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),COLORRED;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
{支撑}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力: L1+P1*7/8,COLOR00DD00;
支撑: L1+P1*0.5/8,COLOR00DD00;
现价:=C;
DRAWICON(LONGCROSS(支撑,现价,2),支撑*1.001,1);
DRAWICON(LONGCROSS(现价,阻力,2),现价,2);

回复

使用道具 举报

发表于 2016-1-17 15:11 | 显示全部楼层
A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3); A2:=REF(C,1)<REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)<REF(C,3); A3:=L/REF(O,3)<1.03 AND C>REF(C,3); XG1:=A1 AND A2 AND A3; AB1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10); AB2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1); AB3:=O<REF(O,1) AND C>REF(H,1); XG2:=AB1 AND AB2 AND AB3; ZA1:=REF(O,1)>REF(H,2) AND REF(C,1)<REF(O,1) AND REF(H,1)=REF(O,1); ZA2:=REF(V,1)=HHV(V,15) AND REF(V,1)/REF(V,2)>=3 AND REF(C,1)/REF(C,2)>1.02; ZA3:=C>REF(H,1); XG3:=ZA1 AND ZA2 AND ZA3; AC1:=REF(C,1)/REF(C,2)<0.92; AC2:=C>REF(O,1) AND C/REF(C,1)>1.05; AC3:=O/REF(C,1)<1.09; XG4:=AC1 AND AC2 AND AC3; ST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1); 停牌:=DYNAINFO(4)>0; ZHXGXG1 OR XG2 OR XG3 OR XG4) AND (ST AND 停牌);
回复

使用道具 举报

发表于 2016-11-2 09:14 | 显示全部楼层
DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA  :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;
强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
抄底:=ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
DRAWICON(ABS(抄底)>0,抄底,9);


回复

使用道具 举报

发表于 2016-1-15 22:34 | 显示全部楼层
谢谢分享投资愉快
回复

使用道具 举报

发表于 2016-1-16 00:04 | 显示全部楼层
通达信异动抓板副图指标源码
回复

使用道具 举报

发表于 2016-1-16 07:10 | 显示全部楼层
异动抓板副图指标源码
回复

使用道具 举报

发表于 2016-1-16 07:20 | 显示全部楼层
学习学习学习
回复

使用道具 举报

发表于 2016-1-16 08:35 | 显示全部楼层
通达信异动抓板副图指标源码
回复

使用道具 举报

发表于 2016-1-16 08:42 | 显示全部楼层
#在这里快速回复#达信异动抓板副图指标源
回复

使用道具 举报

发表于 2016-1-16 09:30 | 显示全部楼层
谢谢楼主的分享。
回复

使用道具 举报

发表于 2016-1-16 14:09 | 显示全部楼层
谢谢分享投资愉快
回复

使用道具 举报

发表于 2016-1-17 18:16 | 显示全部楼层
谢谢分享,投资愉快。
回复

使用道具 举报

发表于 2016-1-17 18:31 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2016-4-22 15:34 | 显示全部楼层
赞一个,不错。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-15 06:48 , Processed in 0.103407 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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