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;
{-股票公式网站 }
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;