选股买入指标 (源码)
2012-07-16 09:05:00来源:本站整理浏览:210
飞狐选股买入指标公式股票软件源码如下:
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;
{www.gpxiazai.com 股票软件下载网_飞狐股票指标公式}
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;
- 上一篇公式:K线提示主图指标 (源码)
- 下一篇公式:空间结构主图指标 (源码)