投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 通达信公式
股市公式查询:

通达信预判顶底主图指标公式

2021/2/13 19:01:57

M5:=MA(CLOSE,5),COLORWHITE;
M10:=MA(CLOSE,10),COLORYELLOW;
M20:MA(CLOSE,20),COLORMAGENTA;
M30:=MA(CLOSE,30),COLORGREEN;
M60:MA(CLOSE,60),LINETHICK2,COLORCYAN;
M90:=MA(CLOSE,90),COLORBLUE;
M120:MA(CLOSE,120),LINETHICK2,COLORLIRED;
M180:=MA(CLOSE,180),LINETHICK1,COLORYELLOW;
M250:MA(CLOSE,250),COLORRED;
M350:=MA(CLOSE,318),COLORBROWN;
生命:EMA(CLOSE,453),COLORCYAN,LINETHICK1;
判:IF(M60>REF(M60,1),M60,DRAWNULL),COLORMAGENTA,LINETHICK2;
判2:IF(M20<REF(M20,1),M20,DRAWNULL),COLORGREEN,LINETHICK1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
空头:=M250>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;
空头2:=M250>M180 AND M180>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;
DRAWTEXT(CROSS(M5,M10) AND COUNT(空头,10)>0,H*1.005,'底?'),COLORYELLOW;
DRAWTEXT(CROSS(M10,M20) AND COUNT(空头,10)>0,H*1.0035,'底成'),COLORYELLOW;
DRAWTEXT(CROSS(M120,M180) AND M60>REF(M60,1),L*0.9985,'跌后赶顶'),COLORGREEN;
DRAWTEXT(CROSS(M180,M250) AND M60>REF(M60,1) ,L*0.998,'跌后见顶?'),COLORGREEN;
DRAWTEXT(CROSS(M250,M350),M30*0.9985,'若新高逃顶'),COLORGREEN;
DRAWTEXT(CROSS(M250,生命),H*1.0010,'离场'),COLORGREEN;
DRAWTEXT(CROSS(M60,M30) AND DIF<REF(DIF,1),H*1.0013,'要走弱'),COLORGREEN;
DRAWTEXT(CROSS(M90,M60) AND M60<REF(M60,1),H*1.0013,'要见小底'),COLORGREEN;
DRAWTEXT(CROSS(M120,M90),H*1.001,'要见中底'),COLORGREEN;
DRAWTEXT(CROSS(M250,M120),H*1.0013,'要见大底'),COLORGREEN;
DRAWTEXT(CROSS(M250,M180),M60*0.998,'大底到'),COLORGREEN;
做多:LLV((O+H+L+2*C)/5*2-H,8),COLORLIRED,DOTLINE;
做空:HHV((O+H+L+2*C)/5*2-L,8),COLORLIRED,DOTLINE;
STICKLINE(L<做多,O,C,1,0),COLORYELLOW;
STICKLINE(H>做空,O,C,1,0),COLORBLUE;
MM:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
分批出:=CROSS(MM,85);
分批买:=CROSS(MM,15);
DRAWTEXT(分批买,C*1.0045,'进'),COLORYELLOW;
DRAWTEXT(分批出 ,H*0.999,'出'),COLORGREEN;
DRAWICON(分批买,H*1.0025,9);
A11:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA),COLORFF00FF;
DRAWTEXT(底背离,L*1.001,'M背'),COLORMAGENTA;
A12:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A12+1)<CLOSE AND REF(DIF,A12+1)>DIF AND CROSS(DEA,DIF),COLORGREEN;
DRAWTEXT(顶背离,H*0.999,'M背'),COLORGREEN;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWTEXT(二次金叉,H*1.0015,'二金叉'),COLORYELLOW;
资金线:=EMA(C,1)/MA(REF(C,18),18)*100;
生命线:=MA(FORCAST(资金线,20),6);
生命连跌:=EVERY(生命线<REF(生命线,1),8);
生命连涨:=EVERY(生命线>REF(生命线,1),8);
STICKLINE(空头,M120,M90,1,0),COLORGREEN;
STICKLINE(空头 AND LAST(DIF<REF(DIF,1),10,1) AND DIF>REF(DIF,1),M120,M20,1,0),COLORMAGENTA;
STICKLINE(空头 AND CROSS(资金线,生命线) AND 生命线<95,M120,M20,1,0),COLORLIRED;
STICKLINE(空头 AND 生命线>REF(生命线,1) AND REF(生命连跌,1)=1 AND 生命线<95,M60,M120,1,0),COLORRED;
DRAWTEXT(空头 AND CROSS(资金线,生命线) AND 生命线<95,M120,'买'),COLORLIRED;
DRAWTEXT(O>C AND C>REF(C,1) AND C>REF(C,1)*1.03,O,'随后有涨停'),COLORLIRED;
MV5:=MA(VOL,5),COLORWHITE,LINETHICK2;
M3:=MA(VOL,35),COLORLIRED;
M1:=MA(VOL,135),COLORGREEN;
DRAWTEXT(CROSS(C,生命) AND C>REF(C,1)*1.02 AND DIF>REF(DIF,1) AND M30>REF(M30,1) AND MV5>REF(MV5,1) AND M1>REF(M1,1),H,'突破'),COLORMAGENTA;
VL:=REF(LOW,1);
VAR112:=(SMA(ABS(LOW-VL),7,1))/(SMA(MAX(LOW-VL,0),7,1))*100;
VAR14:=MA(VAR112,7);
VAR15:=LLV(LOW,15);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1)*16.18-VAR110*10.9;
TT:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),7);
DRAWTEXT(TT,H*1.002,'随后止跌'),COLORCYAN;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*0.998,'埋伏'),COLORMAGENTA;
DRAWTEXT(CROSS(EMA(C,8),EMA(C,3)),L*0.997,'跟'),COLORCYAN;
量B:=SUM(VOL,5)/(SUM(VOL,10)-SUM(VOL,5));
芝麻:=REF(量B,1)<0.6 AND 量B>REF(量B,1);
DRAWTEXT(芝麻,L*0.998,'芝'),COLORWHITE;
PDAY1 := BARSLAST(CROSS(M5,M60));
PDAY2 := BARSLAST(CROSS(M10,M60));
PDAY3 := BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));
PDAY4 := BARSLAST(CROSS(M10,M5){ OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10)});
PDAY5 := BARSLAST(CROSS(M5,M10){ OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10)});
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
A2:= COUNT(CROSS(M10,M5),PDAY2)=1;
A3:=M5>M60 AND M10>M60;
老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5);
DRAWTEXT(老鸭头,H*1.005,'老鸭头'),COLORGREEN;

投 股票网 www.t ou18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
上海贝岭 600171+9.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
海汽集团 603069+9.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
塞力医疗 603716+9.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
莫高股份 600543+9.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
藏格控股 000408+9.98% 评股 实时DDX 大智慧 最新消息 题材分析 股权
维力医疗 603309+9.98% 评股 实时DDX 大智慧 最新消息 题材分析 股权
兴瑞科技 002937+9.98% 评股 实时DDX 大智慧 最新消息 题材分析 股权
柘中股份 002346+9.98% 评股 实时DDX 大智慧 最新消息 题材分析 股权
永太科技 002326+9.98% 评股 实时DDX 大智慧 最新消息 题材分析 股权
安纳达 002136+9.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120