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

通达信玩转KDJ指标公式

2020/6/25 18:56:49

{坐标线位置:0.00;20.00;40.00;50.00;60.00;85.00}
105,COLORFF7F00,DOTLINE;
{极品RSI优化}
LC1:= SMA(C,2,1);
TCRSI:=SMA(MAX(CLOSE-LC1,0),6,1)/SMA(ABS(CLOSE-LC1),6,1)*100;
LC2:= SMA(H,2,1);
THRSI:=SMA(MAX(H-LC2,0),6,1)/SMA(ABS(H-LC2),6,1)*100;
LC3:= SMA(O,2,1);
TORSI:=SMA(MAX(O-LC3,0),6,1)/SMA(ABS(O-LC3),6,1)*100;
LC4:= SMA(L,2,1);
TLRSI:=SMA(MAX(L-LC4,0),6,1)/SMA(ABS(L-LC4),6,1)*100;
TVAR:=SMA(((10000 * CLOSE) / INDEXC),2,1);
『大盘关联』:=SMA(MAX(((10000 * CLOSE) / INDEXC)-TVAR,0),6,1)/SMA(ABS(((10000 * CLOSE) / INDEXC)-TVAR),6,1)*100;
RSI:=(TCRSI+TORSI+THRSI+TLRSI+『大盘关联』)/5,COLORMAGENTA,LINETHICK1;
参考线:=EMA(EMA(RSI,6),5),COLORGRAY,LINETHICK1;
中轨:=MA(RSI,26);
STICKLINE(CROSS(参考线,中轨),95,105,1.2,0),COLORRED;
STICKLINE(CROSS(参考线,中轨),85,95,1.2,0),COLORGREEN;
DRAWTEXT(CROSS(参考线,中轨),104.5,'卖↑'),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(参考线,中轨),94.5,'买↓'),COLORRED,LINETHICK1;
60,COLORLIRED,DOTLINE;
DRAWTEXT(ISLASTBAR,65,'↑强'),COLORRED;
{一三买入法}
MA10:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
{倍量表示:今日大于昨日2倍量}
VOLUME:=VOL;
TJ:=(V/REF(V,1)>3.4) AND MA10<MA34 AND MA10>REF(MA10,1);
三连阴:=LAST(C<O,3,0);
三缩量:=LAST(VOL<REF(VOL,1),3,0);
选股:=REF(三连阴,1)>0 AND REF(三缩量,1)>0 AND O<C AND TJ;
STICKLINE(选股,0,40,1.2,0),COLORRED;
DRAWTEXT(选股>0.9,39,' 抢'),COLORRED,LINETHICK1;
DRAWTEXT(选股>0.9,27,' 反'),COLORRED,LINETHICK1;
DRAWTEXT(选股>0.9,15,' 弹'),COLORRED,LINETHICK1;
{盘整突破}
VARR:=(C+H+O+L)/4;
上轨:=EMA(VARR,10)*1.09;
盘整突破:=LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*1.5 AND C>REF(C,1)*1.03
AND "DMI.PDI">"DMI.MDI" AND"DMI.ADXR">"DMI.MDI"AND "DMI.PDI">"DMI.ADX"
AND(CROSS("DMI.ADX","DMI.ADXR")OR("DMI.ADX">"DMI.ADXR"))
AND"KDJ.D">REF("KDJ.D",1) AND"KDJ.D"<75 AND C<上轨;
STICKLINE(盘整突破,25,35,1.2,0),COLORGREEN;
STICKLINE(盘整突破,15,25,1.2,0),COLORA943FF;
STICKLINE(盘整突破,0,15,1.2,0),COLORRED;
DRAWTEXT(盘整突破,35,' 卖'),COLORGREEN,LINETHICK1;
DRAWTEXT(盘整突破,24,' 破'),COLORA943FF,LINETHICK1;
DRAWTEXT(盘整突破,13.5,' 突'),COLORRED,LINETHICK1;
{财神到}
XXBB:= EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*4,5)*100;
财神到:=REF(XXBB,1)<50 AND XXBB-REF(XXBB,1)>25;
STICKLINE(财神到,70,80,1.2,0),COLOR2222AA;
STICKLINE(财神到,60,70,1.2,0),COLOR11AA88;
STICKLINE(财神到,50,60,1.2,0),COLORAAAA00;
DRAWTEXT(财神到,80,'财'),COLOR00FFFF,LINETHICK1;
DRAWTEXT(财神到,70,'神'),COLOR00FFFF,LINETHICK1;
DRAWTEXT(财神到,60,'到'),COLOR00FFFF,LINETHICK1;
{爆点}
爆点:=LLV(L,3)=LLV(L,60) AND C/REF(C,1)>=1.04;
I爆点:STICKLINE(爆点,0,35,1.2,0),COLORLIRED,LINETHICK1;
DRAWTEXT(爆点,32,'爆点'),COLOR00FFFF,LINETHICK1;
{爆点卖注:除当日涨停外,第二天集合竞价或开盘冲高即卖}
{大底后抄底}
{铁底}
VAR34:=EMA(AMOUNT/VOL/100,3);
伏击线:=EMA(VAR34,88)*0.85;
走势铁底:=伏击线*0.87;
VAR35:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=CROSS(X2,X1) AND X1<-0.25 AND (REF(C,20)-C)/C>0.30;
大底后抄底:=X3 AND VAR35;
STICKLINE(大底后抄底,0,23,1.2,0),COLOR00FFFF;
DRAWTEXT(大底后抄底,20,'抄底'),COLOR00FFFF,LINETHICK1;
{主力进场}
涨幅%:=(C-REF(C,1))/REF(C,1)*100,LINETHICK0;
条件2:=(涨幅%>6 AND 涨幅%<7) AND VAR35 AND 爆点 AND X3;
B11:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B12:=SMA(B11,9,1)+100;
B13:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B14:=SMA(B13,3,1);
B15:=SMA(B14,3,1)+100;
B16:=B15-B12;
观望期:=IF(B16>60,B16-60,0);
IF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04 AND 观望期=0 AND C>REF(C,1),1)
AND 条件2,70,50),LINETHICK2,COLORCYAN;{进}
DRAWTEXT(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04 AND 观望期=0 AND C>REF(C,1),1)
AND 条件2,75,'主力进场'),COLORCYAN,LINETHICK1;
50,COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,55,'↓弱'),COLORGREEN;
{爆点淑女宣选股}
{淑女宣}
左手:=C-REF(C,1);
秋天:=100*EMA(EMA(左手,6),6)/EMA(EMA(ABS(左手),6),6);
梦想:=LLV(秋天,2)=LLV(秋天,7) AND COUNT(秋天<0,2) AND CROSS(秋天,MA(秋天,2));
十三:=FINANCE(37)<=60000;
十三的思想:=(C-REF(C,20))/REF(C,20)*100<0;
淑女宣:=FILTER(梦想=1,5) AND CCI>0 AND 十三 AND 十三的思想;
STICKLINE(淑女宣,0,23,1.2,0),COLORGREEN;
DRAWTEXT(淑女宣,20,' 淑女'),COLORGREEN,LINETHICK1;
{天天抓涨停}
熊五:=MA(CLOSE,5);
生命线:=EXPMA(EXPMA(CLOSE,50),1);
B1:=熊五>生命线 AND 生命线>REF(生命线,1);
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
天天抓涨停:=FILTER(VAR327>1,5) AND B1;
IF(天天抓涨停>0,40,0),COLORMAGENTA,LINETHICK2;
DRAWTEXT(天天抓涨停>0,38,'抓涨停'),COLORMAGENTA,LINETHICK1;
{今买明卖}
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:=IF(N1<N2,N1+1,0)*QSXS;
Z2:=HM=1 AND ZF>=0 AND C>O AND QSXS;
KX1:=ZF<=-3 AND C<O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF>=3 AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
Z3:=IF(FILTER(JBY,1) AND QSXS,5,0);
今买明卖:=Z2 AND Z3;
IF(今买明卖,25,0),LINETHICK2,COLORGREEN;
DRAWTEXT(今买明卖>0,20,'买卖'),LINETHICK1,COLORGREEN;
{KDJ}
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
快线2:SMA(RSV,3,1),COLORWHITE,LINETHICK2;
D:=SMA(快线2,3,1),COLOR00FFFF,LINETHICK2;
{J线没未来}
快线1:3*快线2-2*D,COLOR00FFFF,LINETHICK2;
IF(快线1<REF(快线1,1),快线1,DRAWNULL),COLORGREEN,LINETHICK2;
IF(快线1>REF(快线1,1),快线1,DRAWNULL),COLORRED,LINETHICK2;
{买进}
牛十:=MA(CLOSE,10);
B2:=快线1<35 AND 熊五<牛十;
A5:=C-REF(C,1);
A6:=100*EMA(EMA(A5,6),6)/EMA(EMA(ABS(A5),6),6);
RMA1:=EMA(CLOSE,7);
NMA1:=EMA(CLOSE,19);
UP1:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA1,RMA1))+1),LLV(L,BARSLAST(CROSS(NMA1,RMA1))+1),H
=HHV(H,BARSLAST(CROSS(RMA1,NMA1))+1),HHV(H,BARSLAST(CROSS(RMA1,NMA1))+1),0);
DOWN1:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA1,NMA1))+1),HHV(H,BARSLAST(CROSS(RMA1,NMA1))+1),L
=LLV(L,BARSLAST(CROSS(NMA1,RMA1))+1),LLV(L,BARSLAST(CROSS(NMA1,RMA1))+1),0);
买进:=(LLV(A6,2)=LLV(A6,7) AND COUNT(A6<0,2) AND CROSS(A6,MA(A6,2))) AND
REF(DOWN1,1)<REF(DOWN1,2) AND UP1>REF(DOWN1,1) AND B2;
STICKLINE(买进,85,105,1.2,0),COLORMAGENTA;
DRAWTEXT(买进,104.5,'买'),COLORMAGENTA,LINETHICK1;
DRAWTEXT(买进,94.5,'进'),COLORMAGENTA,LINETHICK1;
20,COLOR4080FF,DOTLINE;
DRAWTEXT(ISLASTBAR,25,'关注'),COLOR4080FF;
40,COLOR00FFFF,LINETHICK3,POINTDOT;
85,COLORA943FF,DOTLINE;
{钱袋显示}
AHC3:=EXPMA(CLOSE,9);
外下:=EXPMA(AHC3*0.86,5),COLOR00FFFF,DOTLINE;
DZ:=MIN(C,O)<MA(C,5) AND (MIN(C,O)-L)/O>0.05;
DRAWICON(DZ AND L< 外下,L*0.98,9);{钱袋显示};

投股票 网 ww w.tou18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
精测电子 300567+2.62% 评股 实时DDX 大智慧 最新消息 题材分析 股权
温氏股份 300498+2.62% 评股 实时DDX 大智慧 最新消息 题材分析 股权
永艺股份 603600+2.62% 评股 实时DDX 大智慧 最新消息 题材分析 股权
康泰生物 300601+2.61% 评股 实时DDX 大智慧 最新消息 题材分析 股权
融捷股份 002192+2.60% 评股 实时DDX 大智慧 最新消息 题材分析 股权
英杰电气 300820+2.59% 评股 实时DDX 大智慧 最新消息 题材分析 股权
国检集团 603060+2.58% 评股 实时DDX 大智慧 最新消息 题材分析 股权
睿能科技 603933+2.58% 评股 实时DDX 大智慧 最新消息 题材分析 股权
美瑞新材 300848+2.57% 评股 实时DDX 大智慧 最新消息 题材分析 股权
可立克 002782+2.57% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120