typ:=(high+low+close)/3;cci:=(typ-ma(typ,14))/(0.015***edev(typ,14));ref(cci<-100,1) and cci>=-100;选股周期用60分,别用日线,通达信公式,通常提示分钟数据不全。这时要先把a股所有股票的1分钟和5分钟数据配合相应起止日期下载完,选股才能正确。
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);a1:=barslast(ref(cross(diff,dea),1));b1:=ref(c,a1+1)>c and ref(diff,a1...stickline(底背离,0,0.05,8,0),colorred。