如何用macd的红绿柱面积确定主升浪

如题所述

第1个回答  2019-12-24
上面这个是底背离,下面是顶背离,参数自己加吧,如果不会加的话就追问,直接给你坐进去
dif:=ema(close,short)-ema(close,long);
dea:=ema(dif,mid);
macd:=(dif-dea)*2,colorstick;
底背离:c<=llv(c,60)
and
macd>=ref(macd,1);
这个只是根据红绿柱背离做的,你试试吧
别忘了把参数加上,short是12,long是26,mid是9
dif:=ema(close,short)-ema(close,long);
dea:=ema(dif,mid);
macd:=(dif-dea)*2,colorstick;
顶背离:c>=llv(c,60)
and
macd<=ref(macd,1);
第2个回答  2021-03-13