DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
选股:CROSS(X2,X1) AND X1<-0.25 AND (REF(C,20)-C)/C>0.30;
BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
xy:=BARSLAST((BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0))>0);
xz:=IF(REF(xy,1)>0 AND xy=0,10,0);
买入:xz and count(选股>0,18)>1,,STICK,colorred;
{ _飞狐股票指标公式}
STICKLINE(买入>0,0 ,买入*1.2,8,0 ),COLOR00AADD;
STICKLINE(买入>0,0 ,买入*0.8,8,0 ),COLOR0099DD;
STICKLINE(买入>0,0 ,买入*0.6,8,0 ),COLOR0066DD;
STICKLINE(买入>0,0 ,买入*0.4,8,0 ),COLOR0033DD;
STICKLINE(买入>0,0 ,买入*0.2,8,0 ),COLOR0000DD;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!