dif:ema(c,12)-ema(c,26);dea:ema(dif,9);macd:(dif-dea)*2,nodraw;zero:=0;{macd柱线变色标识}stickline(macd>0 and macd>=ref(macd,1),0,macd,3,0),colorred;stickline(macd>0 and macd<ref(macd,1),0,macd,...
ma65:=ma(c,65);ma250:=ma(c,250);bb:count(cross(ma(c,65),ma(c,250)),250);xg:=ma250>ref(ma65,1);cross(ma250,ma65) and xg and bb;cross(ma250,ma65) and xg and bb;这句错误,不知道你想表达的意思。bb大于0的情况下,那么cross(ma250...