diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...
局部低点预选a:=backset(llv(l,5)<ref(llv(l,4),1),4);局部低点预选b:=backset(局部低点预选a=0 and ref(局部低点预选a,1)=1,2);局部低点预选c:=if(局部低点预选b=1 and ref(局部低点预选b,1)=0,-1,0);aaaa:局部低点预选c=-1;(backset为未来函数,请谨慎)
a1:=dyna**(6);a2:=if(low>a1,0,if(high<a1,1,(a1-low+0.01)/(high-low+0.01)));a3:=vol/winner(low);a4:=ref(hhv(close,120),1);a5:=ref(llv(close,120),1);a6:=100*(close-a5)/(a4-a5);a7:=a2>0 or a2=1;...