MACD底背离公式
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,8,0),COLORff80ff;
DRAWICON(二次金叉,dea*0.9,1) ;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.1,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,linethick2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,linethick2;
http://s13.sinaimg.cn/middle/641a33714a649007cd26c&690
筷子夹肉
去停牌:=DYNAINFO(17)>0;
去ST:=IF(NAMELIKE('S'),0,1);
去ST1:=IF(NAMELIKE('*'),0,1);
HLB:=WINNER(REF(C,1))*100<10;{一日前的获利比小于10% 这里的函数 已经是过去式.};
涨幅:=C/REF(C,1)>1.02;{涨幅参数自定};
三日:=(C-REF(C,3))/REF(C,3)*100<10;{三日内的区间涨幅可自定};
筷子夹肉:REF(C,1)<O AND C>=((REF(O,1)-REF(C,1))*0.5+REF(C,1)) AND HLB AND 去停牌
AND 去STAND 去ST1 AND 涨幅 AND 三日, COLORRED LINETHICK2; 筷子夹肉
去停牌:=DYNAINFO(17)>0;
去ST:=IF(NAMELIKE('S'),0,1);
去ST1:=IF(NAMELIKE('*'),0,1);
HLB:=WINNER(REF(C,1))*100<10;{一日前的获利比小于10% 这里的函数 已经是过去式.};
涨幅:=C/REF(C,1)>1.02;{涨幅参数自定};
三日:=(C-REF(C,3))/REF(C,3)*100<10;{三日内的区间涨幅可自定};
筷子夹肉:REF(C,1)<O AND C>=((REF(O,1)-REF(C,1))*0.5+REF(C,1)) AND HLB AND 去停牌
AND 去STAND 去ST1 AND 涨幅 AND 三日, COLORRED LINETHICK2; szwzs 发表于 2020-1-10 22:03
这是MACD的线背离,还有柱背离还有柱面积的背离。后两者更靠谱
后两者有具体的公式可供参考学习吗? 谢谢楼主分享
谢谢楼主分享 谢谢楼主分享 谢谢分享! 谢谢楼主分享
谢谢楼主分享 谢谢楼主分享 牛股量形,倍量伸缩 这是MACD的线背离,还有柱背离还有柱面积的背离。后两者更靠谱 谢谢楼主分享 谢谢楼主分享 谢谢楼主分享