這個(gè)公式,在外觀上,好看很多, 我自己修改了的,用在通達(dá)信了,感覺(jué)蠻好的。 喜歡的朋友,可以拿來(lái)用用。里面有兩個(gè)可以選股的公式,一個(gè)是金叉,一個(gè)類似老鴨頭。 指標(biāo)曲線(DIFF)變動(dòng)達(dá)到一定比值,如±8-±10%以上,表明股價(jià)乖離較大,隨時(shí)有反轉(zhuǎn)的可能;以及在此區(qū)間出現(xiàn)的背離等,其警示含義更強(qiáng)。在多頭市場(chǎng),只要某個(gè)品種在上升趨勢(shì)中得以維持,每一次60分鐘K線圖上MACD死叉后,回到0軸附近再重新金叉都是買進(jìn)的信號(hào).那么在空頭市場(chǎng)里只有該品種繼續(xù)運(yùn)行在下降通道中,每一次60分鐘K線圖上MACD在0軸下方金叉漲回到0軸附近時(shí)再死叉,都是賣出的信號(hào). BOLL收口,可能: 1.向上變盤 2.向下變盤 .當(dāng)MACD指標(biāo)向上[金叉]時(shí),為向上變盤信號(hào). MACD死叉,在5天內(nèi)復(fù)又金叉,這期間縮量,上漲概率極大. DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED,LINETHICK2; DEA : EMA(DIFF,9),COLORYELLOW,LINETHICK2; 操盤:STICKLINE(2*(DIFF-DEA)>=0 AND 2*(DIFF-DEA)>=REF(2*(DIFF-DEA),1),0,2*(DIFF-DEA),2,0),COLORRED,LINETHICK1; 反彈:STICKLINE(2*(DIFF-DEA)<0 AND 2*(DIFF-DEA)>=REF(2*(DIFF-DEA),1),0,2*(DIFF-DEA),2,0),COLORYELLOW,LINETHICK1; 減倉(cāng):STICKLINE(2*(DIFF-DEA)>=0 AND 2*(DIFF-DEA)< REF(2*(DIFF-DEA),1),0,2*(DIFF-DEA),2,0),COLORFF9900,LINETHICK1; 尋底:STICKLINE(2*(DIFF-DEA)<0 AND 2*(DIFF-DEA)< REF(2*(DIFF-DEA),1),0,2*(DIFF-DEA),2,0),COLORGREEN,LINETHICK1; 金叉:IF(CROSS(DIFF,DEA ),1,0),COLORCYAN,LINETHICK3; 翻紅:IF(DIFF>REF(DIFF,1) AND REF(DIFF,1)<=REF(DIFF,2) AND DEA>REF(DEA,1) AND 2*(DIFF-DEA)>REF(2*(DIFF-DEA) ,1) AND REF(2*(DIFF-DEA) ,1) >0 AND DEA<DIFF,1.5,0),COLORFF00FF,LINETHICK3; A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 頂背離:DRAWLINE(A2=0,DEA,REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),DEA,0),LINETHICK2,COLORCYAN; FF:=C=LLV(C,180); GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1; LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1; 底背離:DRAWLINE(BARSLAST(REF(CROSS(DIFF,DEA),1))=0,DEA,(REF(CLOSE,BARSLAST(REF(CROSS(DIFF,DEA),1))+1)>CLOSE AND DIFF>REF(DIFF,BARSLAST(REF(CROSS(DIFF,DEA),1))+1) AND CROSS(DIFF,DEA)),DEA,0),LINETHICK2,COLOR5454FF; DIF:IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORGREEN,LINETHICK2; |
|