请高手将下列通达信公式改为选股公式,选出蓝线向下和白线向上交叉,紫线向上和绿线向下交叉,2个选股公式

2024-12-25 09:13:32
推荐回答(2个)
回答1:

OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEOBVE:=EMA(OBV,3);
DIFF := EMA(OBVE,12) - EMA(OBVE,26);
BBDIFF:=DIFF-REF(DIFF,1);
DEA := EMA(DIFF,9);
BBDEA:=DEA-REF(DEA,1);
(BBDEA>0 AND BBDIFF>0 AND NOT(REF(BBDEA>0 AND BBDIFF>0 ,1))) OR (BBDIFF>0 AND REF(BBDIFF,1)<=0);

回答2:

做任务