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,...
ku1:=if(high=hhv(high,3),1,0);ku1赋值:如果最高价=3日内最高价的最高值,返回1,否则返回0kd1:=if(low=llv(low,3),1,0);kd1赋值:如果最低价=3日内最低价的最低值,返回1,否则返回0ul:=if(ref(ku1,2)=1 and ref(ku1,1)=0 andku1=0,ref(high,2),ref(high,2+barslast(...