把MACD的DEA作为估算标准差的变量,以此做MACD布林主图,关注K线与上轨及M6与上轨的关系
M6:(EMA(c,5)+EMA(c,6))/2;
M12:=EMA(c,12);
M26:EMA(c,26),COLORRED,LINETHICK2;
DIF:=ema(M12-M26,9);
SBL:M26+2*(26/12)*STD(DIF,26),COLORYELLOW,DOTLINE;
XBL:M26-2*(26/12)*STD(DIF,26),COLORGREEN,DOTLINE;
联系客服