a1:=ma(c,60);a2:=ma(c,30);a3:=ma(c,20);a4:=ma(c,13);b1:=(hhv(h,60)-c)/hhv(h,60)*100;{财经导航:yangsou.com/cj/ } xg:a4>=ref(a4,1)and cross(c,a4)and macd.macd>0 and b1>29 and v>ref(v,1)*2 and a1>a2 and a2>a3 and a3>a4; 20210311
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;
{主图}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...