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;前低...
mid:ma(close,n);upper:mid+p*std(close,n);lower:mid-p*std(close,n);m5:ma(c,5);m10:ma(c,10),coloryellow;if(m5,m5>=ref(m5,1),rgb(255,0,255),m5(m5,1),rgb(255,255,0)),linethick1;stickline(o<=mid and ...