a:=cross(c,ma(c,5)) and cross(c,ma(c,10)) and cross(c,ma(c,20));a1:=v>=ref(v,1)*2;a2:=macd.dif>macd.dea;a3:=ref(close,1)<ref(sar(4,2,20),1) and close>=sar(4,2,20);xg:a and a1 and a2 and a3...
diff:=ema(close,12)-ema(close,26); dea:=ema(diff,9); a:=ma(c,3);xg:cross(ref(dea,1),ref(diff,1)) and cross(diff,dea) and atan((a/ref(a,1)-1)*100)*57.3>30;
{主图}t1:=ma(c,15);if(c>=t1 and t1>=ref(t1,1),t1,draw**),colorred;if(c<t1 or t1<ref(t1,1),t1,draw**),colorgreen;stickline(c>=t1 and t1>=ref(t1,1),c,h,0,0),colorred;stickline(c>=t1 a...