将下面DZH的选股公式改成TDX可用的选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

高手的大智慧选股公式,现在麻烦高手们修改成可以在TDX选股 谢谢你们!!!RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);DEA:= EMA(DIFF,9);MACD:= 2*(DIFF-DEA);ZTT:=(C-REF(C,1))*100/REF(C,1);MP:= MACD >-0.45 and ref(MACD,1)9.3,150);{根据马留老师的思路增加了条件}LTZ:=CAPITAL*ref(c,1)/1000000;strfind(stkname,'S',1)=0 and dynainfo(8)>0AND barpos>30AND 次数>=2AND MACD>-0.45AND ref(MACD,1)

解答:

 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
ZTT:=(C-REF(C,1))*100/REF(C,1);
MP:= MACD >-0.45 AND REF(MACD,1)<MACD;
次数:=COUNT(MP AND ZTT>9.3,150);{根据马留老师的思路增加了条件}
LTZ:=CAPITAL*REF(C,1)/1000000;
 IF(NAMELIKE('S'),0,1)AND DYNAINFO(8)>0
AND BARSCOUNT(C)>30
AND 次数>=2
AND MACD.MACD>-0.45
AND REF(MACD.MACD,1)<MACD.MACD
AND MACD<0.09
AND D<45 
AND K<62
AND LTZ<120;
 

选股票看什么指标最好 >股票指标网