通达信asi公式 lc:=ref(close,1);aa:=abs(high-lc);bb:=abs(low-lc);cc:=abs(high-ref(low,1));dd:=abs(lc-ref(open,1));r:=if(aa>bb and aa>cc,aa+bb/2+dd/4,if(bb>cc and...
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;