%>
DRAWTEXTEX(1,0,5,0,'绿色填充带-股价格远离30日均线%20'),COLORgreen;
DRAWTEXTEX(1,0,5,20,'蓝色填充带-股价格远离30日均线%30'),COLOrblue;
DRAWTEXTEX(1,0,5,40,'绿色小箭头-上引线过长,放量收阴'),COLOr53a23a;
DRAWTEXTEX(1,0,5,60,'绿色圆点-MACD长期0上后2线大数值死叉'),COLOr00823a;
DRAWTEXTEX(1,0,5,80,'k线灰色填充-价格突破BOLL上轨,高位提示'),COLOr888888;
a1:=(c/ma(c,30)-1)*100;
{股票教程网-股票公式网站 www.gwgz.net}
FILLRGN(a1>20,(l+h)/2,min(c,o)),colorgreen;
FILLRGN(a1>30,(l+h)/2,min(c,o)),colorblue;
a2:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW);
drawicon(a2>=0.6 and v>ref(v,1) and c<o and ref(c,1)>ref(o,1) and c/ref(c,1)<0.99,H*1.01,5);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
a3:=(count(macd>0,30)>=25 and cross(dea,dif)and ref(dea,1)>=1)or (ref(all(macd>0,10),2) and cross(dea,dif) and ref(dea,1)>=1);
drawicon(a3=1,h*1.017,11);
KLINE(o,h,l,c,0);
MID:=MA(CLOSE,26);
UP:=MID + 2*STD(CLOSE,26);
A4:=h>up;
STICKLINE(a4,(c+o)/2,max(c,o),7,0),color555555;
{股票教程网-http://gpzyws.com承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}