%>
GGA:=MAX(MA(C,60),MA(C,120));
GGB:=MIN(MA(C,60),MA(C,120));
个股绿:C>GGA,COLORGREEN,linethick0;
个股红:C<GGB,COLORRED,linethick0;
个股黄:GGA>=C AND C>=GGB,COLORYELLOW,linethick0;
STICKLINE(C>GGA,1.1,2,10,0),COLORGREEN;
STICKLINE(C<GGB,1.1,2,10,0),COLORRED;
STICKLINE(GGA>=C AND C>=GGB,1.1,2,10,0),COLORYELLOW;
DPA:=MAX(MA(INDEXC,60),MA(INDEXC,120));
DPB:=MIN(MA(INDEXC,60),MA(INDEXC,120));
大盘绿:INDEXC>DPA,COLOR80FF80,linethick0;
大盘红:INDEXC<DPB,COLOR8080FF,linethick0;
大盘黄:DPA>=INDEXC AND INDEXC>=DPB,COLOR80FFFF,linethick0;
{股票教程网-股票公式网站 www.gwgz.net}
STICKLINE(INDEXC>DPA,0,1,10,0),COLOR80FF80;
STICKLINE(INDEXC<DPB,0,1,10,0),COLOR8080FF;
STICKLINE(DPA>=INDEXC AND INDEXC>=DPB,0,1,10,0),COLOR80FFFF;
{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}