诚请高手编写通达信选股公式.选出昨天收阴线,今天高开高走收阳线的股票.

2024-11-30 02:48:29
推荐回答(3个)
回答1:

(0901){选股公式}
MA3:=MA(C,3);
MA5:=MA(C,5);
ZX:=(MA3+MA5)/2;
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)YB:=C>REF((O-C)/2+C,2);
xg:CROSS(C,ZX) AND (GD OR YB) AND QSXS;

(0902){选股公式}
w2:=(ref(c,2)>ref(o,2));
w3:=(ref(h,1)-ref(o,1))/ref(c,1)>0.03;
w4:=c/ref(c,1)>1.05;
w5:=c>ref(h,1);
w2 and w3 and w4 and w5;

(0903){选股公式}
w1:=c/ref(c,1)>1.05;
w2:=v/ref(v,1)>3;
w3:=cost(60)xg:w1 and w2 and w3;

(0904){选股公式}
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);

PDI:=DMP*100/TR;
xg:(pdi-ref(pdi,1))>10;

(0905){选股公式}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
xg:cross(买线,卖线);

(0906){选股公式}
w1:=count(cross(ma(c,10),ma(c,20)),10)=2 and ma(c,10)>ref(ma(c,10),1);
w2:=ref(sum(v,3),1)o;
xg:w1 and w2;

(0907){选股公式}
w1:=ma(c,30)ma(c,5);
w2:=ref(sum(v,3),1)xg:w1 and w2

回答2:

很简单,在五彩K线指标中建:
ref(o,1)>ref(c,1) and c>o*1.015 and c>ref(c,1)*1.015
已验证过没问题!
你只要选股前先下载完整的日线数据就可以了。

回答3:

作梦啊!!!老大!!!
股票不是这么玩的啊!!!