ma5:ma(c,5);前高1:=ref(h,10)=hhv(h,20);前高:=h=hhv(h,20) and refx(前高1,10)=1;前高价:=ref(h,barslast(前高));stickline(close,前高价,前高价,1,0),colorliblue;前低1:=ref(l,10)=llv(l,20);前低:=l=llv(l,20) and refx(前低1,10)=1;前低...
mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);买:=llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2));jrs:=filter(买=1,5);收盘价买入:cross(jrs,0.8);全年选股次数:sum(jrs,250),linethic...
tt1:=ref(o>c,2) and ref(c/o<0.94,2);tt2:=upnday(c,2);tt3:=c>ref((l+(h-l)/2),2) and h<ref(o,2);ttt:=tt1 and tt2 and tt3;stickline(ttt,o,c,2,0),colorlimagenta;stickline(ttt,l,h,0,0),colorlim...