我一直在用的三线MACD
JA:=(CLOSE+OPEN+HIGH+LOW)/4;
DIF1:=EMA(JA,12)-EMA(JA,26);
DEA1:=EMA(DIF1,9);
DEAA:=EMA(DIF1,55);
MACD:=(DIF1-DEA1)*1.3,COLORSTICK;
MACD彩柱:=MACD,COLORSTICK;
STICKLINE((MACD彩柱>=REF(MACD彩柱,1) AND (MACD彩柱>0)),0,MACD彩柱,5,0),COLOR0000FF;
STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,5,1),COLOR0000B5;
STICKLINE(((MACD彩柱<=REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,5,1),COLORA2A200;
STICKLINE((MACD彩柱<REF(MACD彩柱,1) AND (MACD彩柱<0)),0,MACD彩柱,5,0),COLORFFFF00;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9),COLOR00FFFF;
DEA2:EMA(DIF,55),COLOR008000;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)