stickline(c/ref(c,1)>=1.03 and c/ref(c,1),c,o,3,0),colormagenta;stickline(c/ref(c,1)>=1.03 and c/ref(c,1),l,h,0,0),colormagenta;stickline(c/ref(c,1)(c,1)>0.902,c,o,3,0),colorgreen;stickline(c...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd0:=(dif-dea)*2;x0:=barslast(cross(dif,dea));xg:if(x0=0 and dif>ref(dif,ref(x0,1)+1)and l(l,ref(x0,1)+1),1,0);公式里的macd金叉低点对比用macd的dif值做的对比,