通达信金叉买公式副图源码
20日均线金叉60日均线,20日乖离率大于0并且小于5,macd的dif大于dea,在此探讨高手继续优化
BIAS1:(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100,NODRAW;AA:=CROSS(MA(C,20),MA(C,60));DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);金叉买:AA AND BIAS1>0 AND BIAS1<5 AND DIF>DEA;