操盘:=xma(xma(l,25),25)-(xma(xma(h,25),25)-xma(xma(l,25),25))*1;趋势:=ema(操盘,25);黄金坑:=if(low<操盘,1,0);x:黄金坑 and 操盘>趋势;公式给你做了,但是要警告你:这个公式用了未来函数,调用了未来12天的走势,所以看似准确,实则坑人,最好别用。
diff:=ema(dclose,12)-ema(dclose,26);dea:=ema(diff,9),colorffff00;macd:=(diff-dea)*2;a1:=barslast(ref(cross(diff,dea),1));a2:=barslast(ref(cross(dea,diff),1));底背离:ref(close,a1+1)>close and diff>r...
a7:=c-ref(c,1);a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));drawtext(filter(买=1,5),low-0.05,'↖买进'),coloryellow;------------...