以下是通达信汇盈波段回踩源码(无源码的请下载附件导入)
AA:=ADVANCE;
NOTEXT1:=FORCAST(EMA(AA,9),7);
NOTEXT2:=FORCAST(EMA(AA,17),7);
NOTEXT3:=FORCAST(EMA(AA,25),7);
TDXSTEP109:ABS(ADVANCE-NOTEXT3)/NOTEXT3*100<3 AND NOTEXT2>=NOTEXT3 AND ADVANCE>OPEN AND REF(ADVANCE,5)>=NOTEXT3;
若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
AA:=CLOSE;
NOTEXT1:=FORCAST(EMA(AA,9),7);
NOTEXT2:=FORCAST(EMA(AA,17),7);
NOTEXT3:=FORCAST(EMA(AA,25),7);
TDXSTEP109:ABS(CLOSE-NOTEXT3)/NOTEXT3*100<3 AND NOTEXT2>=NOTEXT3 AND CLOSE>OPEN AND REF(CLOSE,5)>=NOTEXT3;
{-----------------------------------} |