dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9);dea>ref(dea,1) and dea>=0.5 and dea<=0.8;or(dea<ref(dea,1) and dea>=0.5 and dea<=0.8);两个选股条件合并为一个公式了,要分为两个的话分别取1,2,3行和1,2,5行 20210311
下载最新的5分钟数据,选股周期设为5分钟进行选股。ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,40)>ref(ma(c,40),1) and ma(c,50)>ref(ma(c,50),1) ;