a:=cross(macd.dif,macd.dea);a and macd.dif>=macd.dea+0.01 and range(macd.dif,-0.3,0.3) 周dif:="macd.dif#week"(12,26,9);周dea:="macd.dea#week"(12,26,9);周dea>0 and cross(周dif,周dea);
as:=cross(macd.dea,macd.dif);aj:=cross(macd.dif,macd.dea);a:=as or aj;ts:=barslast(a);a1:=aj and macd.dif(ref(a,ts)=1 and ref(as,ts)and ref(macd.dif,ts)>=0,1);ts2:=barslast(a1);filter(ref(a1,ts2)=1...