diff:=ema(close,6)-ema(close,10);dea:=ema(diff,5);macd:=2*(diff-dea);金叉信号1:=cross(close,ma(close,34)) and cross(ma(close,3),ma(close,8));a1:=diff<ref(diff,1) and diff<0;a2:=barslast(a1) and macd...
是逃顶指标?mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);s:=if(hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ref(ma(dx,2),1),dx),1,0);drawicon(s=1,h,1);