Hi, Perhaps this could help you. //---changing colour of background--// if(StrToNum(NumToStr(MA( C, 3 )> MA(C,15))))bgColor = ColorRGB(15,41,91); else bgColor = ColorRGB(61,2,91); SetChartBkGradientFill( colorBlack, bgColor); SetChartBkColor(bgcolor); Chears.
--- On Wed, 24/9/08, chomper777 <[EMAIL PROTECTED]> wrote: From: chomper777 <[EMAIL PROTECTED]> Subject: [amibroker] Change Chart Background color for Buy and Sell Signal. To: [email protected] Date: Wednesday, 24 September, 2008, 5:20 PM Hi, I want my chart background to change color depend on buy or sell signal using the setchartbkcolor command, but I'm getting error. Here is the code, can anyone help? thanks ColorBK = IIf( Buy, colorDarkGreen, colorDarkRed) ; SetChartBkColor( ColorBK); Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
