zjtz288 发表于 2016-1-17 18:40

通达信稳赚不赔及选股指标公式

昨收:=REF(CLOSE,1);
趋势:SMA(MAX(CLOSE-昨收,0),8,1)/SMA(ABS(CLOSE-昨收),8,1)*100,COLOR0080FF,LINETHICK2;
下:20;
上:80;
中:50; **** Hidden Message *****

162182864 发表于 2016-9-9 22:20

A1:=(DVOL/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
本帖隐藏的内容

主买A2/A6)*100,LINETHICK1,COLORRED;
主卖A3/A6)*100,LINETHICK1,COLORCYAN;
散买A4/A6)*100,LINETHICK0;
散卖A5/A6)*100,LINETHICK0;
主差:主买-主卖,LINETHICK1,NODRAW;
散差:散买-散卖,LINETHICK0,NODRAW;
DRAWTEXT(主差>0 AND REF(主差,1)<=0,C*2,'抢'),COLORRED;
DRAWTEXT(主差<0 AND REF(主差,1)>=0,C*1,'主'),COLORWHITE;
DRAWTEXT(散差>0 AND REF(散差,1)<=0,C*2,'散'),COLORCYAN;
DRAWTEXT(散差<0 AND REF(散差,1)>=0,C*1,'入'),COLORWHITE;
VAR1:=((CLOSE - LLV(LOW,50))/(HHV(HIGH,50) - LLV(LOW,50)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,6,1);
K:=SMA(VAR3,4,1);
D:=SMA(K,4,1);{股海网提供 www.guhai.com.cn}
DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'B'),COLORRED;
DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'S'),COLORWHITE;
STICKLINE((K >= D),K,D,6,0),COLOR0000A8;
STICKLINE((K >= D),K,D,5,0),COLOR0000C0;
STICKLINE((K >= D),K,D,4,0),COLOR0000E0;
STICKLINE((K >= D),K,D,3,0),COLOR0000F0;
STICKLINE((K >= D),K,D,2,0),COLOR0000D0;
STICKLINE((K >= D),K,D,1,0),COLOR8080FF;
STICKLINE((K <= D),K,D,6,0),COLOR008800;
STICKLINE((K <= D),K,D,5,0),COLOR009900;
STICKLINE((K <= D),K,D,4,0),COLOR00AA00;
STICKLINE((K <= D),K,D,3,0),COLOR00BB00;
STICKLINE((K <= D),K,D,2,0),COLOR00CC00;
STICKLINE((K <= D),K,D,1,0),COLOR00DD00;
顶:90,DOTLINE;

zjjhywzym 发表于 2016-1-31 11:51

DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:EMA(DIFF,9),COLORFFFF00; MACDDIFF-DEA)*2; STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED; STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLORGREEN; STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF; STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;多转空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));空转多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3))); DRAWICON(多转空,MACD,2); DRAWICON(空转多,MACD,1);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1; DRAWTEXT(低位金叉,DEA,'低位金叉'),COLORFF00FF; JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; STICKLINE(二次金叉,0,0.2,2,0),COLORFF00FF; DRAWTEXT(二次金叉,DEA*1.06,'二次金叉'),COLORRED; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); DRAWTEXT(底背离,-0.2-MACD,'底背离'),COLORWHITE; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); DRAWTEXT(顶背离,0.2+MACD,'顶背离'),COLORWHITE;

DFZW16458402 发表于 2016-10-6 15:05

通达信凹底淘金倍量伸缩选股预警指标公式DIFF:=EMA(CLOSE,6)-EMA(CLOSE,13); DEA:=EMA(DIFF,5); MACD:=2*(DIFF-DEA); FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4)&&CAPITAL/100<20000; FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1; FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1); FH4:=FH1 AND FH2 AND ABS((DIFF-DEA)/C)<0.018; FH5:=FH1 AND FH2 AND MACD<0.10; 凹口淘金:=FH3 OR FH4 OR FH5;伸倍量柱:= REF(V>=REF(V,1)*1.5 AND C>O,1) AND V<=REF(V,1)*0.9; T:=BARSSINCEN(伸倍量柱,8); 不跌破:=LLV(C,T+2)>=REF(L,T+1); 缩倍双阴:=COUNT(C<O,2)=2 AND REF(C>O,2) AND MA(V,2)<=REF(V,2)*0.7; 倍量伸缩:= REF(伸倍量柱,1) AND 缩倍双阴; 凹底:= (MA(C,3)-LLV(L,20))/LLV(L,20)<0.1; 涨停:= C>=(1.10*REF(C,1)-0.004); XG1:= COUNT(伸倍量柱,6)>=2 AND 倍量伸缩 AND 凹底 AND 不跌破 AND T>=3 AND COUNT(涨停,30); 凹底1:= COUNT(XG1,10) ; 盘:=CAPITAL/100; 换:=V/盘; 换手率:=BETWEEN(换,1.74,40); 量比 :=DYNAINFO(17)>1.3; 流通盘:=CAPITAL/1000000<=2.85; 股价:=C>=4.60 AND C<14.99; 去创业板:=IF(CODELIKE('300'),0,1); 去停牌:=DYNAINFO(17)>0; D22:=IF(NAMELIKE('S'),0,1); D33:=IF(NAMELIKE('*'),0,1); 去ST:=D22 AND D33 AND 流通盘 AND 股价 AND 去创业板 AND 去停牌 ; 凹口淘金 OR 凹底1 AND 去ST AND 换手率 AND 量比;

凌霄飞剑 发表于 2016-1-17 18:58

通达信稳赚不赔及选股指标公式

童心缘 发表于 2016-1-17 19:20

通达信稳赚不赔及选股指标公式

红安红 发表于 2016-1-17 19:50

强庄主图指标公式

红豆情人 发表于 2016-1-17 20:04

51888888888888888888

红阳熊子 发表于 2016-1-17 20:10

稳赚不赔?试试看再说吧

t20ily 发表于 2016-1-17 20:32

感谢楼主无私分享

sijjis 发表于 2016-1-17 21:03

THJ:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
TJHJ:=(C-REF(C,THJ+1))/REF(C,THJ+1)*100;
TJ1HJ:=EVERY(C<O,THJ);
TJ2HJ:=COUNT(REF(C,1)/C>1.09,THJ)>0 AND REF(C,1)/C>1.09;
AHJ:=TJHJ>-1 AND TJ1HJ AND TJ2HJ;
TAHJ:=BARSLAST(AHJ);
HHHJ:=REF(H,TAHJ);
TJ3HJ:=EVERY(MAX(C,O)<HHHJ,TAHJ);
TJ4HJ:=MIN(C,O)<HHHJ AND MAX(C,O)>HHHJ AND COUNT(MIN(C,O)<HHHJ AND MAX(C,O)>HHHJ,TAHJ)=1;
价:',VAR2STR(REF(H,TAHJ),2)),'元'))COLORYELLOW;

向尔 发表于 2016-1-17 21:48

通达信稳赚不赔及选股指标公式

hfzhou 发表于 2016-1-18 14:10

谢谢楼主分享

大预言术 发表于 2016-1-18 15:16

:):):):):):):):):)

海茵 发表于 2016-1-18 21:46

学习学习学习学习学习

ppklm3796 发表于 2016-1-18 22:13

稳赚不赔及选股指标公式

瀚宇2015 发表于 2016-1-19 00:06

通达信稳赚不赔及选股指标公式

静石不动 发表于 2016-1-19 05:05

稳赚不赔及选股指标公式
页: [1] 2 3 4 5
查看完整版本: 通达信稳赚不赔及选股指标公式