zjtz288 发表于 2016-7-1 21:39

通达信牛股底部强势拉升选股指标公式

去ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
去停牌:=DYNAINFO(4)>0;
DD:=EMA(CLOSE,12)-EMA(CLOSE,26);
FF:=EMA(DD,9);
AAA:=(DD-FF)*2*60;
XG2:=AAA-REF(AAA,1);
AA05:=EMA(C,5);
XGG1:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA30:=EMA(C,30);
XGG2:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(XGG1,0),3)>=1 AND XGG2>REF(XGG2,1) AND
AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30 AND 去ST股 AND 去停牌;
XG1:=FILTER(MR,10);
XG:XG1 AND XG2>16;

士兵突击K 发表于 2020-2-28 20:36

A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK1;
PMA:=分水岭;
DD:=分水岭<REF(分水岭,1);
IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK1;
操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK1;
S:=(PMA>操作线);
IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK1;
PM:MA(C,5),COLORFFFFCC,LINETHICK1;
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK1;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(分水岭,操作线),分水岭-0.1,'三底背离');
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
DRAWTEXT(B1>0,L-0.02,'M底背离'),COLOR00FFFF;
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
DRAWTEXT(B2,L-0.10,'K底背离'),COLORFF00FF;
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
DRAWTEXT(B3>0,L-0.18,'R底背离'),COLOR0000FF;
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
DRAWTEXT(D1>0,H+0.16,'M顶背离'),COLOR00FF00;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");
DRAWTEXT(D2>0,H+0.08,'K顶背离'),COLORFFFFCC;
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");
DRAWTEXT(D3>0,H+0.04,'R顶背离'),COLORFF9900;

天外来客66 发表于 2021-3-29 20:28


去ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
去停牌:=DYNAINFO(4)>0;
DD:=EMA(CLOSE,12)-EMA(CLOSE,26);
FF:=EMA(DD,9);
AAA:=(DD-FF)*2*60;
XG2:=AAA-REF(AAA,1);
AA05:=EMA(C,5);
XGG1:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA30:=EMA(C,30);
XGG2:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(XGG1,0),3)>=1 AND XGG2>REF(XGG2,1) AND
AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30 AND 去ST股 AND 去停牌;
XG1:=FILTER(MR,10);
XG:XG1 AND XG2>16;

醉亨人生 发表于 2021-1-31 07:52


去ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
去停牌:=DYNAINFO(4)>0;
DD:=EMA(CLOSE,12)-EMA(CLOSE,26);
FF:=EMA(DD,9);
AAA:=(DD-FF)*2*60;
XG2:=AAA-REF(AAA,1);
AA05:=EMA(C,5);
XGG1:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA30:=EMA(C,30);
XGG2:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(XGG1,0),3)>=1 AND XGG2>REF(XGG2,1) AND
AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30 AND 去ST股 AND 去停牌;
XG1:=FILTER(MR,10);
XG:XG1 AND XG2>16;

allblue58 发表于 2016-7-1 22:47

感谢楼主的分享。

森淼垚鑫焱 发表于 2016-7-1 22:55

向高手学习,向高手看齐!

muge 发表于 2016-7-8 15:09

谢谢楼主分享

射雕英雄郭靖 发表于 2016-7-9 10:09

学习学习学习

dsqg168 发表于 2016-7-9 19:09

谢谢分享,股市长虹

阿育阿育 发表于 2016-7-25 10:05

谢谢分享,努力学习。

zhaolin506 发表于 2016-7-25 18:17

:):):):):)

木子李大哥 发表于 2016-9-7 09:24

感谢楼主的分享。

木子李大哥 发表于 2016-9-7 09:28

感谢楼主的分享。

阳光正好 发表于 2016-9-7 12:07

谢谢分享!!!!!!!!!!!!

阳光正好 发表于 2016-9-21 11:53

谢谢分享!!!!!!!!!!!!!

阿育阿育 发表于 2016-9-22 16:35

谢谢分享,努力学习。

rdkdy 发表于 2016-9-23 11:03

学习!!!!!!!!!!!!!!

咖啡豆80 发表于 2016-9-27 12:24

谢谢分享,好好学习。
页: [1] 2 3 4
查看完整版本: 通达信牛股底部强势拉升选股指标公式