求高手帮忙编写一个通达信的选股公式,背离选股!

2024-10-31 04:42:18
推荐回答(1个)
回答1:

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AB:=REF(DEA,20);
BB:=REF(CLOSE,30);
低值:=LLV(DEA,25);
XG:CROSS("KDJ.J","KDJ.D") AND "KDJ.D"<30 AND DEA>AB AND DEA>低值 AND C