DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
macd:(DIF-DEA)*2,COLORSTICK;
近MacD死叉距离:=BArslAST(crOSS(0,MACD));
前MACD死叉距离:=REF(BARSLAST(CROSS(0,MACD)),近MACD死叉距离+1);
价格判断:=LLV(C,近MACD死叉距离)
AND 价格判断=1
AND 柱线判断=1;
XH1:XH/2,colorwhite,LINETHICK2;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
macd:(DIF-DEA)*2,COLORSTICK;
近MacD死叉距离:=BArslAST(crOSS(0,MACD));
前MACD死叉距离:=REF(BARSLAST(CROSS(0,MACD)),近MACD死叉距离+1);
价格判断:=LLV(C,近MACD死叉距离)
AND 价格判断=1
AND 柱线判断=1;
XH1:XH/2,colorwhite,LINETHICK2;