编写要求:
CCI上穿-100 J值金叉或上拐的预警公式。
www.gszx.com.cn网解答:
N:=45; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); CROSS(CCI,-100)&&(CROSS(KDJ.J,0)||CROSS(KDJ.J,REF(KDJ.J,1)));