{选出“笑脸”的条件选股公式如下}zb1:=ema(c,34);长期趋势:=ema(zb1,13);csar:=sar(10,2,20);持股:=if(csar<=l,csar,0);止损:=ema(c,5);菩提b:=xma(h,20);参买:=if(止损>=ref(止损,1),止损,draw**);xg:cross(l,csar) and 参买>0 and h<菩提b ...
t:=barscount(c);tp:= filter( c>=hhv(h,t) and v>ma(v,0)*2 and dyna**(17)>1 and time>39600 ,240) ;drawtext(tp,l,'★上去'),colorred;if((hhv(h,t)-llv(l,t))/llv(l,t)<0.05 and dyna**(22...