==============================================================
nday := 5;
down := hhv(high,20)/high<=1.15;
pma1 := ma(close,5);
pma2 := ma(close,10);
vma1 := ma(vol,5);
vma2 := ma(vol,10);
diff := ema(close,12) - ema(close,26);
dea := ema(diff,9);
ppday := barslast(cross(pma2,pma1));
vvday := barslast(cross(vma2,vma1));
macdday := barslast(cross(dea,diff));
sscjd:= if((ppday<=nday and vvday<=nday and macdday<=nday),1,0);
==============================================================
三死叉見(jiàn)頂:
(1)當股價(jià)長(cháng)期上漲后開(kāi)始進(jìn)入頭部,而后股價(jià)緩慢下跌。有時(shí)會(huì )同時(shí)出現5日和10日均價(jià)線(xiàn)、5日和10日均量線(xiàn)、MACD的死亡交叉點(diǎn),這是股價(jià)見(jiàn)頂回落的信號。
(2)有時(shí)會(huì )伴隨出現兩陰夾一陽(yáng)空方炮、斷頭鍘刀MACD下穿零線(xiàn)等圖形。
操作:
(1)當出現三死叉后堅決賣(mài)出股票。
(2)或等股價(jià)反彈到10日均線(xiàn)附近逢高派發(fā)。
==============================================================