[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Change Chart Background color for Buy and Sell Signal.



PureBytes Links

Trading Reference Links

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 <amibrokerfan@xxxxxxxxx> wrote:
From: chomper777 <amibrokerfan@xxxxxxxxx>
Subject: [amibroker] Change Chart Background color for Buy and Sell Signal.
To: amibroker@xxxxxxxxxxxxxxx
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);



Add more friends to your messenger and enjoy! Invite them now. __._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___