%>
DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
BDC:EMA((DY1-DY2)/(DY3-DY2)*100,9),COLORRED,LINETHICK2;
BDD:EMA((0.667*REF(BDC,1)+0.333*BDC),3),COLORFF9900,LINETHICK2;
BDE:EMA((DY1-DY2)/(DY3-DY2)*100,30),COLORFFFFFF,LINETHICK1;
BDF:EMA(BDE,5),LINETHICK1,COLORFF0000;
DY4:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
{股票教程网-股票公式网站 www.gwgz.net}
KW:=SMA(DY4,34,1),COLORCCCC22;
DW:=SMA(KW,13,1);
中期趋势:=KW,COLORYELLOW;
DY5:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100;
KM:=SMA(DY5,89,1),COLOR3366DD;
DM:=SMA(KW,34,1);
长期趋势:=KM,COLOR00FF00;
STICKLINE(BDC>=BDD,BDC,BDD,1,0),COLORRED;
STICKLINE(BDC<BDD,BDD,BDC,1,0),COLORFFFF33;
STICKLINE(BDE>=BDF,BDE,BDF,1,0),COLORFFFFFF;
STICKLINE(BDE<BDF,BDF,BDE,1,0),COLORFF00FF;
{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}