%>
均价:SUM(AMOUNT,1)/SUM(V,1)/100,LINETHICK0;
大于均价:=(C-均价)/均价*100;
SMA5:=EMA(SMA(大于均价,3,2),3);
SMA8:=EMA(SMA(大于均价,3,2),8);
SM:=SMA((sma(SMA5,3,1)+SMA8)/2,5,4);
FILLRGN(1,HHV(HHV(SMA5,100),100),0 ),COLOR222266;
FILLRGN(1,llV(llV(SMA5,100),100),0 ),COLOR662222;
FILLRGN(SM>0,SM,0),COLOR00AA99;
FILLRGN(SM<0,0,SM),COLOR229955;
HHV(HHV(SMA5,60),100)*2/3,LINEDOT;
LLV(LLV(SMA5,60),100)*2/3,LINEDOT;
{股票教程网-股票公式网站 www.gwgz.net}
STICKLINE(SMA5>SMA8,SMA5,SMA8,7,0),COLOR33FFDD;
STICKLINE(SMA5<SMA8,SMA5,SMA8,7,0),COLORDDDD33;
STICKLINE(SMA5>SMA8 AND 大于均价>0,SMA5,SMA8,7,0),COLORAA33DD;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,7,0),COLORFFDD33;
STICKLINE(SMA5<SMA8 AND 大于均价<0,SMA5,SMA8,7,0),COLORFFDD33;
STICKLINE(SMA5>HHV(HHV(SMA5,60),100)*2/3,SMA5,HHV(HHV(SMA5,60),100)*2/3,7,0),COLOR5033FF;
STICKLINE(SMA5<LLV(LLV(SMA5,60),100)*2/3,LLV(LLV(SMA5,60),100)*2/3,SMA5,7,0),COLOR50FF50;
SM,COLOR99FF00,LINETHICK2;
PARTLINE(SM>=0,SM),COLORWHITE,LINETHICK2;//COLORFFffFF
PARTLINE(SM>=REF(SM,1),SM),COLORYELLOW,LINETHICK2;//COLOR99FFFF
PARTLINE(SM>=REF(SM,1) AND SM>0, SM),COLORRED,LINETHICK2;//COLOR2222FF
{股票教程网-http://bkqg.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}