乖离抄底+选股指标 (源码)
2011-12-01 09:00:00来源:本站整理浏览:153
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离: MA(BIAS,3),NODRAW;
STICKLINE(乖离<-6 AND 乖离>=-12,1,0,3,0),COLOR005C00;
STICKLINE(乖离<-12 AND 乖离>=-18,2,1,3,0),COLOR0099FF;
STICKLINE(乖离<-18 AND 乖离>=-30,3,2,3,0),COLOR33CCFF;
STICKLINE(乖离<-30,4,3,3,0),COLORRED;
DRAWTEXT(乖离<-30,3, 'B'), COLORWHITE;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
DRAWTEXT(乖离<-30 AND ISLASTBAR,1, '长 买'), COLORWHITE;
选股公式:
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:= MA(BIAS,3);
长线低点:乖离<-30;
- 上一篇公式:好成交量指标 (源码)
- 下一篇公式:能量先锋指标 (源码)