对【MACD】了解的朋友都知道它是体现趋势经典指标。在实际应用中不同人,都有不同的见解,基本是以【以0轴上下的DIFF背离 MACD柱线的长短 DIFF与DAE的交叉 周期共振点】结合主图里的K线的组合形态以及均线系统及所掌握各种理论来实现自己的预期操作模式。利用【MACD】的跨周期5分 15分 30分 60分,在同一图表看盘使你更好的清楚你自己想做什麽。因你可看到 大周期中小周期 的演绎过程,达到可看长做短效果。在使用过程自己也可对自己熟悉了解的理论【均线 波浪 形态 切线 ......等】相互印证来做预期操作!说明一下因 软件 的关系【通达信】只能在静态下看, 大智慧 飞狐 可在动态下看。如图
{通达信}
{MACD 60分}
分DIFF:= MACD.DIF#MIN60 (10,22,7.5);
分DEAF:= MACD.DEA#MIN60 (10,22,7.5);
MACD分:2*(分DIFF-分DEAF),NODRAW;
DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
0,COLORFFFF00,LINETHICK1;
:TROUGHBARS(3,3,1),COLOR0000FF,NODRAW;
:PEAKBARS(3,3,1),COLOR00FF00,NODRAW;
低:IF( =0,分DIFF,IF( ,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW;
高:IF( =0,分DIFF,IF( ,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW;
STICKLINE( =0,分DIFF,-分DIFF,0.5,0),COLOR00FF00;
STICKLINE( =0,分DIFF,-分DIFF,0.5,0),COLORFF00FF;
{MACD 30分}
分DIFB:= MACD.DIF#MIN30 (10,22,7.5);
分DEAB:= MACD.DEA#MIN30 (10,22,7.5);
MACDB分:2*(分DIFB-分DEAB),NODRAW;
DRAWBAND(分DIFB,RGB(255,157,255),分DEAB,RGB(21,138,255));
STICKLINE(MACDB分 0,0,MACDB分,0.01,0) ,COLOR0000FF;
STICKLINE(MACDB分 0,0,MACDB分,0.01,0) ,COLORFFF000;
GMB:IF(CROSS(分DIFB,分DEAB) AND 分DIFB 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
GMC:IF(CROSS(分DIFB,分DEAB) AND 分DIFB 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
0,COLORFFFF00,LINETHICK1;
:TROUGHBARS(3,3,1),COLOR0000FF,NODRAW;
:PEAKBARS(3,3,1),COLOR00FF00,NODRAW;
低:IF( =0,分DIFB,IF( ,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW;
高:IF( =0,分DIFB,IF( ,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW;
STICKLINE( =0,分DIFB,-分DIFB,0.5,0),COLOR00FF00;
STICKLINE( =0,分DIFB,-分DIFB,0.5,0),COLORFF00FF;
{MACD 15分}
分DIFF:= MACD.DIF#MIN15 (10,22,7.5);
分DEAF:= MACD.DEA#MIN15 (10,22,7.5);
MACD分:2*(分DIFF-分DEAF),NODRAW;
DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
0,COLORFFFF00,LINETHICK1;
:TROUGHBARS(3,3,1),COLOR0000FF,NODRAW;
:PEAKBARS(3,3,1),COLOR00FF00,NODRAW;
低:IF( =0,分DIFF,IF( ,TROUGH(3,3,1),REF(TROUGH(3,3,1),1))),COLOR00FFFF,NODRAW;
高:IF( =0,分DIFF,IF( ,PEAK(3,3,1),REF(PEAK(3,3,1),1))),COLOR00FF00,NODRAW;
STICKLINE( =0,分DIFF,-分DIFF,0.5,0),COLOR00FF00;
STICKLINE( =0,分DIFF,-分DIFF,0.5,0),COLORFF00FF;