通达信 【四周期共振起涨】副图无未来,为...
通达信 【四周期共振起涨】副图
无未来,为了节省大家的时间,趁着春节多陪陪家人们!直接上源码!
用法也是非常简单!当白红粉黄四色同一频道时,后期共振起涨的可能性非常大!!适合看盘的指标之一!
希望对大家有所帮助!
源码:
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;