通达信指标:三金叉见底
{均线}
maM:ma(c,5);
maN:ma(c,10);
均线金叉:if(cross(maM,maN),1,0);
AA:if(count(均线金叉,5)》0,1,0) ;
{均量}
MAvM:=MA(VOL,5);
MAvN:=MA(VOL,10);
均量金叉:=if(cross(MAvM,MAvN),1,0);
AB:if(count(均量金叉,5)》0,1,0) ;
{MACD}
SQX:=(C-MA(CLOSE,13)*10);
diff:=EMA(MA(sqx,7),1);
dea:=EMA(diff,7);
macd:=(diff-dea)*2,;
MACD低位金叉:=IF(CROSS(DIFF,DEA) AND DIFF《-0.1,0.3,0),;
AC:if(count(MACD低位金叉,5)》0,1,0);
三金叉★: if(AA》0 and AB》0 and AC》0,1, 0 ),COLORred;
DRAWTEXT(三金叉★》0,LOW*0.99,‘★’),COLORred;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!