%>
{布林带}
MID : MA(CLOSE,21),colorwhite;
UPPER: MID + 1.96*STD(CLOSE,21),coloryellow;
LOWER: MID - 1.96*STD(CLOSE,21),coloryellow;
UP:MID + 2.56*STD(CLOSE,21),colorff00ff;
LOOW:MID - 2.56*STD(CLOSE,21),colorff00ff;
{上升趋势}
stickline(c>=mid,mid,up,6,0),color330066;
{下降趋势}
stickline(c<mid,mid,loow,6,0),Color545454;
mid,colorwhite;
upper,coloryellow;
up,colorff00ff;
lower,coloryellow;
loow,colorff00ff;
开口:=up-loow;
相离:=c-mid;
drawtext(c>=mid and ref(开口,1)=hhv(开口,20),upper,'减仓'),color00FF00;
drawtext(c>=mid and ref(相离,1)=llv(相离,5),mid,'加仓');
股价多头:=c>ma(c,5) and ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20);
drawtext(FILTER(股价多头,20),loow*0.95,'开始建仓'),colorred;
{股票教程网-股票公式网站 www.gwgz.net}
drawicon(FILTER(股价多头,20),lower,1),colorred;
drawtext(cross(mid,c),up,'空仓观望'),coloryellow;
drawicon(cross(mid,c),upper,2),coloryellow;
{股票教程网-http://9188edu.com承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}