A. 通达信根据指标源码怎样编选股公式
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:(准备 OR 一定要买 OR 庄家异动) AND 钱包;
=======================
{单独出现}
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:准备 OR 一定要买 OR 庄家异动 OR 钱包;
B. 请高人用通达信龙凤呈祥源码公司设置选股条件如图
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
持股线:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
年线:=EMA(CLOSE,250);{www.58188.COM}
VAR0:=EMA(CLOSE,3);
多空:=持股线-(VAR0-持股线),COLORLIMAGENTA;
干坤:=年线-(VAR0-年线),COLORGRAY,LINETHICK2;
三黄A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORYELLOW;
三黄B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORYELLOW;
三黄C:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORYELLOW,LINETHICK2;
{三黄归一线,多空下穿三黄归一线时,就是买入时机};
xg:CROSS(三黄A,多空);
C. 求通达信expma选股源码
EXP1:=EMA(C,12);
EXP2:=EMA(C,50);
T1:=EXP1>EXP2;
T2:=ATAN((EXP1/REF(EXP1,1)-1)*100)*180/3.1415926>30;
T3:=ATAN((EXP2/REF(EXP2,1)-1)*100)*180/3.1415926>30;
T4:=T1=1&&T2=1&&T3=1;
XG:REF(T4,1)=0&&T4=1;
D. 请老师将下面源码做个选股公式,要求选出“起爆”股票,谢谢
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORCYAN;
VAR18:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,VAR18+1)>CLOSE AND DIFF>REF(DIFF,VAR18+1) AND CROSS(DIFF,DEA);
VAR19:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,VAR19+1)<CLOSE AND REF(DIFF,VAR19+1)>DIFF AND CROSS(DEA,DIFF);
买入:ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
你的公式中没有“起爆”。
E. 通达信选股公式源码
你好,通达信选股公式源码如下。
次日涨停
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=交叉(C,REF(W3,1));
W4和计数(W4,5)=1;
黄转紫选股
差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差异,9);
MACD:=(DIFF-DEA)*2;
紫柱:MACD<0和MACD>REF(MACD,1)和REF(MACD,1)低位金叉选股
差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差异,9);
MACD:=(DIFF-DEA)*2;
低位金叉:交叉(差异,DEA)和差异<-0.1;
二次金叉选股
差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差异,9);
MACD:=(DIFF-DEA)*2;
JCCOUNT:=计数(交叉(差异,数据包络分析),BARSLAST(数据包络分析>=0));
二次金叉:交叉(差异,DEA)和DEA<0,计数(JCCOUNT=2,21)=1;
绝地反弹
(1)
VAR1:=参考值(低,1);
VAR2:=SMA(ABS(低VAR1),13,1)/SMA(最大值(低VAR1,0),13,1)*100;
VAR3:=EMA(如果(关闭*1.2,VAR2*13,VAR2/13),13);
VAR4:=LLV(低,34);
VAR5:=HHV(VAR3,34);
VAR6:=如果(LLV(低,55),1,0);
VAR7:=EMA(如果(低)<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
XL1:=MA(低,2)*0.96;
XL2:=MA(低,26)*0.85;
XL3:=REF(XL1,1)
XG:启动>25;
(2)
倒退((参考(关闭,1)<参考(打开,1)和
关闭>打开和ABS(关闭参考(关闭,1))/关闭<0.002),2);
A2:=过滤器(A1<=V3,10);
ND资本<300000000
REF(V,1)=LLV(V,4)和V>=REF(V,1)
HHV(V,3)=参考(V,1)和HHV(V,5)=参考(V,1)和HHV(V,21)=参考(V,1)
和V>=REF(V,1)
01>0,T02>0;
1.三线粘合
M:=1;
M5:=MA(闭合,5);
M10:=MA(闭合,10);
M20:=MA(闭合,20);
K1:=最大值(最大值(M5,M10),最大值(M10,M20));
K2:=MIN(MIN(M5,M10),MIN(M10,M20));
A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))<1+0.03*M;
A1:=(K1/K2-1)<0.005;
A2:=(K1/K2-1)<0.005;
A3:=V>REF(V,1)*1.5和V>MA(V,5);
XG:A和A1,A2和A3,C>O和V>REF(V,1),资本<=300000000;
2.三条线粘合
N1:=5;N2:=10;N3:=20;M:=1;
MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);
A3:=V>REF(V,1)*1.5和V>MA(V,5);
最大值(MA1,最大值(MA2,MA3))/MIN(MA1,最小值(MA2,MA3))<1+0.01*M
C>O和V>REF(V,1)和财务(7)<=300000000
A3及资本<=300000000;
3.均线粘合
M:=1;
M5:=MA(闭合,5);
M10:=MA(闭合,10);
M20:=MA(闭合,20);
K1:=最大值(最大值(M5,M10),最大值(M10,M20));
K2:=MIN(MIN(M5,M10),MIN(M10,M20));
A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))<1+0.01*M;
A1:=(K1/K2-1)<0.005;
A2:=(K1/K2-1)<0.005;
A3:=V>REF(V,1)*1.5和V>MA(V,5);
XG:A和A1以及A2和A3;
3.金叉选股指标
快线:=均线(均线)(均线(收盘,2,2,2),;
慢线:=EMA(参考(快线,1),2);
A3:=V>REF(V,1)*1.5和V>MA(V,5);
交叉(快线,慢线) 和C>O和
五> =MA(V,21)和V>REF(V,1),资本<=300000000;
F. 集合竞价选股公式源码
1.集合竞价选股公式源码为:
N:=95;
开幅%:(O-REF(C,1))/REF(C,1)*100,NODRAW;
去ST股:=IF(NAMELIKE('S'),0,1);
去ST股1:=IF(NAMELIKE('*'),0,1);
去停牌:=DYNAINFO(17)>0;
流通值:=FINANCE(40)/100000000;
一字板:=C/REF(C,1)>1.0975 AND H=L;
TJA:=REF(WINNER(C)*100,1)>=N AND WINNER(O)*100>=N AND BETWEEN(开幅%,3,9) AND 去ST股 AND 去ST股1 AND 流通值<100000 {AND NOT( 一字板)};
2.股票集合竞价是指每个交易日上午的9:15到9:25,由投资者按照自己的目标价格,买卖申请不受任何限制。之所以要进行股票集合竞价,目的就是确定开盘价,就是在9:30股市开市时间到达时的首个价格。
3.对于下面的3条竞价规则,一般这个价格都需要遵守:
1)在这个价格的成交量是最大的;
2)买这个或者卖这个的,任何一方所出的价格跟这个一样的话,有一边必须要全部成交;
3)比这个价高的买入申请以及比这个价低的卖出申请在最后的阶段都要保证完成交易。
拓展资料:
1.集合竞价时间不止一段,而是有两段,在不同的时间段里可以进行不同的操作:
2.第一个时间段9:15-9:20:申报和撤销都可以进行,匹配成交量在这个时间段是虚假的信息,那是因为在这个时间段里完成的成交是可以撤单的。在开始的前几分钟,股票的价格会随着大单的买入而升高,但是时间在9:20左右,大单就又撤单了,这个时候我们再想撤单就来不及了。正是这个原因,大家要提高注意力,擦亮自己的眼睛,别中了主力的圈套。
G. 股票突破前期新高的选股公式源码。
P1:=BARSLAST(HHV(REF(H,5),120)=REF(H,60-1+5))+60-1+5;
HHV(H,60)=H AND C>REF(H,P1) AND REF(H,1)<REF(H,P1);