dif:ema(close,12)-ema(close,26)linethick2;dea:ema(dif,9)linethick2;macd:(dif-dea)*2,colorstick;stickline(macd>0,0,macd,1,0),colorred;stickline(macd,0,macd,1,0),colorgreen;stickline(macd>0 and ma...
k0:=(time0-32400)/60;k:=if(k0<90,k0,if(k0<270,k0-15,k0-135)),linethick0;昨天:=barslast(date>ref(date,1)),linethick0;周期:=intpart((k)/(昨天+1)+0.5),linethick0;n:=if(周期<3 and 周期>0,225,if(周期<...