DIF1:EMA(C,84)-EMA(CLOSE,180)COLORLIGRAY,LINETHICK1;
DEA1:EMA(DIF1,6)COLORLIRED,LINETHICK1;
MACDF:(DIF1-DEA1)*2,COLORSTICK;
{DRAWBAND(DEA1,RGB(0,224,24),DIF1,RGB(185,196,0));}
PJ:3*DIF1-2*DEA1,COLORLIBLUE;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26)COLORYELLOW,LINETHICK2;
{ 老K股票学习网_通达信指标公式}
DEA:EMA(DIF,9)COLORWHITE,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
J:3*DIF-2*DEA,COLORLIGREEN,LINETHICK2;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,0.8,0),COLORRED;
STICKLINE(MACD>0 AND MACDSTICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,0.8,0),COLORLIRED;
STICKLINE(MACD<0 AND MACDA1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
背离:=REF(CLOSE,A1+1)>CLOSE AND DIF1>REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);
STICKLINE(背离,DIF1,0.02,2,0),COLORWHITE;
DRAWTEXT(背离,DIF1-0.01,'背离'),COLORCYAN;
DRAWTEXT(C=C AND CURRBARSCOUNT=230,0.023,'使用方法:0轴下背离伺机买入即可'),COLOR325495;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!