飞狐均线拐点指标公式
-
相关简介:N:=3; MA5:MA(C,5); MA10:=MA(C,10); MA20:MA(C,20); MA30:MA(C,30); MA60:MA(C,60); MA120:=MA(C,120); 短线多头:=MA5MA10 AND MA10MA20 AND MA20MA30; 中线多头:=MA30MA120 AND MA60MA120; 均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100=N; 均线拐点:=COUNT(短线多
-
文章来源:股海网作者:股海网发布时间:2015-07-05浏览次数:
N:=3;
MA5:MA(C,5);
MA10:=MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:=MA(C,120);
短线多头:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
中线多头:=MA30>MA120 AND MA60>MA120;
均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100<=N;
均线拐点:=COUNT(短线多头,10) AND COUNT(MA5<REF(MA5,1),3) AND MA5>REF(MA5,1);
{www.gUPang.com 股旁网_最新股票指标公式}
XG:=中线多头 AND 均线粘合 AND 均线拐点 AND C>REF(C,1);
选股:=XG AND NOT(REF(XG,1));
均线粘合2:=(MAX(MA5,MAX(MA10,MA20))/MIN(MA5,MIN(MA10,MA20))-1)*100<=N;
XG2:=中线多头 AND 均线粘合2 AND 均线拐点 AND C>REF(C,1);
选股2:=XG2 AND NOT(REF(XG2,1)),COLORWHITE,linethick2;
{以下设置主图显示方式:}
STICKLINE(选股,h,l,0,1),COLORYELLOW,linethick2;
STICKLINE(选股,o,c,4,1),COLORYELLOW,linethick2;
DRAWTEXT(选股,L-0.1, '买'),COLORYELLOW;
STICKLINE(选股2,h,l,0,1),COLORWHITE,linethick2;
STICKLINE(选股2,o,c,4,1),COLORWHITE,linethick2;
DRAWTEXT(选股2,L-0.15, '买2'),COLORWHITE;