求通达信自动选股公式。

2024-12-29 08:03:45
推荐回答(3个)
回答1:

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DEA>DIF AND DIF>0.3 OR DIF>-0.3;

{按你要求编写,参数缺损为正负0.3}
---------------------------------------------------------------------------------

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DEA>DIF AND DIF>N OR DIF>-N;

{参数,N最小-10,最大10,缺省在最小到最大之间自己调整}

{如果回答满意,请记得给采纳}

回答2:

N:=0.3;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
CC:=BETWEEN(DIF,0,DIF+N) OR BETWEEN(DIF,0,0-N);
买入:DIF里面的N数值可以自己改

回答3:

n 0 1 0.3
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
XG:abs(dif)<=N and dif