Is this what you are looking for?

TimeFrameSet(inDaily);

rsa=RSI(3);

TimeFrameRestore();

ra=TimeFrameExpand(rsa, inDaily);

Plot(ra,"ra", IIf(ra>90, colorDarkGrey,colorYellow), styleCloud);


--------------------------------------------------------------------------------


Cheers

Prashanth



----- Original Message ----- 
From: "K. Karunakaran" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 07, 2009 00:49
Subject: [amibroker] Background Color


>I have tried the following to change the background color.  Black is the 
>default background color.
> 
> TimeFrameSet(inDaily);
> rsa=RSI(3);
> TimeFrameRestore();
> ra=TimeFrameExpand(rsa, inDaily);
> Ca=IIf(ra>90, colorDarkGrey,colorBlack);
> Plot( 1, "", Ca, styleArea | styleOwnScale | styleNoLabel, 0, 1 );
> 
> The color changes in the entire vertical area of the chart.  But,I would like 
> to restrict the change in background color to the actual area of the candles. 
>  Someone, please help me with the codes.
> 
> My advance thanks
> 
> Warm Regards.
> 
> K Karunakaran
> 
> 
> 
> ------------------------------------
> 
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> Yahoo! Groups Links
> 
> 
> 

Reply via email to