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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)