{选出“笑脸”的条件选股公式如下}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 ...
ma30:=ma(close,30);ma60:=ma(close,60);value_a:=filterx(cross(ma30,ma60),barscount(close));value_b:=cross(macd.dir,macd.dea) and macd.macd>=0;value:barssince(barslast(value_a)>o and value_b)=0;
ma1:ma(close,5);ma2:ma(close,10);ma3:ma(close,20);ma4:ma(close,60);x:=barslast(v/ref(v,1)>2);aa:stickline(x>=0 and x,ref(c,x),ref(c,x),4,0)coloryellow,linethick2;