DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100,color0000ff,LINETHICK3;
DEA:EMA(DIF,9),Colorffffff,LINETHICK3;
macd:(DIF-DEA)*2,COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORYELLOW;
D:SMA(K,3,1),COLORffff00;
J:3*K-2*D,COLORMAGENTA;
{partline(j,j>=ref(j,1),rgb(255,0,0),j<ref(j,1),rgb(0,255,0)),linethick1;}
M周金叉:IF(crOSS("macd.diff#WEEK","macd.dea#WEEK"),-50,0),color0000ff,LINETHICK2;
DRAWTEXT(M周金叉,-45,’ MACD周金叉’),color0000ff;
M周死叉:IF(CROSS("macd.dea#WEEK","macd.diff#WEEK"),-50,0),color00ff00,LINETHICK2;
DRAWTEXT(M周死叉,-45,’ MACD周死叉’),color00ff00;
M月金叉:IF(CROSS("macd.diff#MONTH","macd.dea#MONTH"),-60,0),Color00ffff,LINETHICK2;
DRAWTEXT(M月金叉,-55,’ MACD月金叉’),color00ffff;
M月死叉:IF(CROSS("macd.dea#MONTH","macd.diff#MONTH"),-60,0),Colorff6600,LINETHICK2;
DRAWTEXT(M月死叉,-55,’ MACD月死叉’),colorff6600;
DRAWTEXTAbs(5,5,’股旁网 www.gupang.com’),linethick1,COLOR00EEff;
K周金叉:IF(CROSS("kdj.K#week","kdJ.D#week"),50,0),color0000ff,LINETHICK2;
DRAWTEXT(K周金叉,50,’ KDJ周金叉’),color0000ff;
K周死叉:IF(CROSS("KDJ.D#week","KDJ.K#week"),50,0),color00ff00,LINETHICK2;
DRAWTEXT(K周死叉,50,’ KDJ周死叉’),color00ff00;
K月金叉:IF(CROSS("KDJ.K#MONTH","KDJ.D#MONTH"),60,0),Color00ffff,LINETHICK2;
DRAWTEXT(K月金叉,60,’ KDJ月金叉’),color00ffff;
K月死叉:IF(CROSS("KDJ.D#MONTH","KDJ.K#MONTH"),60,0),Colorff6600,LINETHICK2;
DRAWTEXT(K月死叉,60,’ KDJ月死叉’),colorff6600;

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