通達(dá)信復(fù)合周期MACD指標(biāo)公式使用經(jīng)驗(yàn):如果是周金叉比月金叉要前的話,就很可能是月周共振成功的概率非常大,。如果月金叉比周金叉要前的話,,那就有可能不共振。但是至少短線共振力度很明顯的,。如果MACD與KDJ在周K共振的話一周就可以確定下來(lái)了,。 DRAWGBK(1>0, RGB(50,100,80),RGB(100,50,100),0,'',0); DIFW:"MACD.DIF#WEEK",COLORYELLOW; DEAW:"MACD.DEA#WEEK",COLORWHITE; DIFM:="MACD.DIF#MONTH",COLORMAGENTA; DEAM:="MACD.DEA#MONTH",COLORGREEN; DRAWBAND(DIFW,RGB(200,200,0),DEAW,RGB(0,0,200)); MACD:("MACD.DIF#WEEK"-"MACD.DEA#WEEK")*2,COLORSTICK; M周叉:=IF(CROSS(DIFW,DEAW),1,0),COLORRED,NODRAW; M月叉:=IF(CROSS(DIFM,DEAM),1,0),COLORCYAN,NODRAW; DRAWTEXT(M周叉=1,DIFW,'MACD周'),COLOR8000FF; DRAWTEXT(M月叉=1,DEAW,'MACD月'),COLORCYAN; {KDJ復(fù)合} AA:="KDJ.K#WEEK"; BB:="KDJ.D#WEEK"; AAA:="KDJ.K#MONTH"; BBB:="KDJ.D#MONTH"; K周叉:=IF(CROSS(AA,BB),1,0),COLORRED; K月叉:=IF(CROSS(AAA,BBB),1,0),LINETHICK2,COLORCYAN; MK周共振:IF(M周叉=1 AND K周叉=1,0,DEAW),COLORLICYAN; DRAWTEXT(MK周共振=0,0,'MK周共振'),COLORYELLOW; MK月共振:IF(M月叉=1 AND K月叉=1,1,0),NODRAW; DRAWTEXT(MK月共振=1,MACD,'MK月共振'),COLORYELLOW; M周月共振:IF((EXIST(M月叉=1,21) AND M周叉=1) OR (EXIST(M周叉=1,21) AND M月叉=1),0,DIFW),COLORYELLOW; DRAWTEXT((EXIST(M月叉=1,21) AND M周叉=1) OR (EXIST(M周叉=1,21) AND M月叉=1),0,'M周月共振'),COLORWHITE;
|