DIF60:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
DEA60:=EMA(DIF60,9/4);
macd60:=(DIF60-DEA60)*2;
STICKLINE(MacD60>=0,15,20,3,-1),COLORLICYAN;
STICKLINE(MACD60<0,15,20,3,-1),COLORLICYAN;
STICKLINE(MACD60>=0,15.2,19.8,2,0),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,17,' 60'),COLORWHITE;
MACD:=MACD.MACD;
STICKLINE(MACD>=0,10,15,3,-1),COLORLICYAN;
STICKLINE(MACD<0,10,15,3,-1),COLORLICYAN;
STICKLINE(MACD>=0,10.2,14.8,2,0),COLOR1400A4;
DRAWTEXT(CURRBARSCOUNT=1,12,' 日'),COLORWHITE;
周MA:=MACD.MACD#WEEK;
STICKLINE(周MA>=0,5,10,3,-1),COLORLICYAN;
STICKLINE(周MA<0,5,10,3,-1),COLORLICYAN;
STICKLINE(周MA>=0,5.2,9.8,2,0),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,7,' 周'),COLORWHITE;
月MA:=MACD.MACD#MONTH;
STICKLINE(月MA>=0,0,5,3,-1),COLORLICYAN;
STICKLINE(月MA<0,0,5,3,-1),COLORLICYAN;
STICKLINE(月MA>=0,0.2,4.8,2,0),COLOR29B8D6;
DRAWTEXT(CURRBARSCOUNT=1,2,' 月'),COLORWHITE;