理论上,MACD 双线DIF 和DEA可以无限升高,无限拉底,但是事实上是不可以的,两条线总是围绕着0轴上上下下。但是每次变盘位置都是在0轴附近。这点必须要引起重视。即均线系统上上穿60日线和下破60线。0轴上第一个金叉就是股价突破60日线后回踩60日线。同时回踩途中成交量缩小。然后基本上是放量金叉。放量的那天产生的股价最低点基本上就是未来一段时间的支撑点。
在0 轴下方金叉,离金叉位置比较远,所以上升力度基本没有。成矩形震荡。当在0轴下,距离很近的地方再次金叉上,产生了一波有力度的涨幅。然后在0 轴上高位死叉,离0 轴比较远,下跌力度基本没有。也成矩形震荡。到了0轴再次金叉,就是今天的涨停板。幅度多大,跟踪观察。同样前面可以看到在0 轴附近死叉下跌,力度比较大。
{公式名称: 做短线T神器}
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VAR2:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR1),0);
VAR3:=EMA(VAR2,3)-MA(VAR2,9);
VAR4:=EMA(IF(VAR3>0,VAR3,0),3);
VAR5:=MA(CLOSE,3);
VAR6:=12;
VAR7:=26;
VAR8:=9;
DIF:EMA(CLOSE,VAR6)-EMA(CLOSE,VAR7),COLORYELLOW;
DEA:EMA(DIF,VAR8),COLORFF9900;
VAR9:=(DIF-DEA)*2;
STICKLINE(VAR4>REF(VAR4,1) AND VAR5>REF(VAR5,1),0,VAR9,2,0),COLORYELLOW;
VAR10:=Func_0x75CD.SubValue_0x4;
VAR11:=Func_0x75CD.SubValue_0x5;
VAR12:=Func_0x75CD.SubValue_0x6;
VAR13:=Func_0x75CD.SubValue_0x7;
STICKLINE(VAR10,0,VAR9,1,0),COLORLIRED;
STICKLINE(VAR11,0,VAR9,1,0),COLORRED;
STICKLINE(VAR12,0,VAR9,1,0),COLORGREEN;
STICKLINE(VAR13,0,VAR9,1,0),COLORWHITE;
持股:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
空仓:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2;
牛熊分界线:0,COLORCYAN;{www.70822.com}
VAR14:=CROSS(DIF,DEA) AND DIF<(-0.1);
STICKLINE(VAR14,0,0.08,2,0),COLORMAGENTA;
DRAWTEXT(VAR14,(-0.8),40),COLORWHITE;
VAR15:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
VAR16:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(VAR15=2,21)=1;
STICKLINE(VAR16,0,0.06,2,0),COLORFFCC00;
DRAWICON(VAR16,DEA*0.8,13);{www.70822.com}
DRAWTEXT(VAR16,DEA*1,41),COLORYELLOW;
VAR17:=BARSLAST(REF(CROSS(DIF,DEA),1));
VAR18:=REF(CLOSE,VAR17+1)>CLOSE AND DIF>REF(DIF,VAR17+1) AND CROSS(DIF,DEA);
STICKLINE(VAR18,0,0.03,2,0),COLORYELLOW;
DRAWTEXT(VAR18,0.12,34),COLORMAGENTA;
VAR19:=BARSLAST(REF(CROSS(DEA,DIF),1));
VAR20:=REF(CLOSE,VAR19+1)<CLOSE AND REF(DIF,VAR19+1)>DIF AND CROSS(DEA,DIF);
DRAWTEXT(VAR14 AND VAR16 AND VAR18,0.25,42),COLORRED,LINETHICK2;
VAR21:=MACD.DIF#WEEK(12,26,9);