ema18:=ma(c,18),coloryellow;**【买入】:count(close,5)=4 andclose/ema18>1.004 and cross(close,ema18)and ema18>=ref(ema18,1);var21:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;var22:=sma(var21,...
n:=150;判断高低:=3; 高:=ref(hhv(h,n),判断高低); 近期顶:=refdate(高,date);最顶:=refdate(近期顶,date);出:=最顶=h and ((c-l)<(o-c) or (o-l)<(c-o));低:=ref(llv(l,n),判断高低);近期底:=refdate(低,date);最底:=refdate(近期底,date);进: 最底=...