中线多头:=MA30 MA120 AND MA60 MA120;
均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100
均线拐点:=COUNT(短线多头,10) AND COUNT(MA5 REF(MA5,1),3) AND MA5 REF(MA5,1);
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
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
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;