I do something similar with dots:

plot(x, "", color1, styledots|stylenoline);
plot(c, "", color2, stylecandle);

Bill

----- Original Message ----- 
From: "pmxgs" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 03, 2008 12:44 PM
Subject: [amibroker] Paint body of candle


> Hi,
> 
> I would like to "paint" the body of a candle if a certain criteria is 
> met. By painting I mean, having a line inside of the body of the 
> candle in a way that I can see the original color of the candle and at 
> the same time I can also see the line painted inside of the candle.
> Should I use the PlotOHLC function or is there another function more 
> suited to this? 
> For example:
> Greenbar=RSI(14)<20
> Redbar=RSI>80
> Then I would like to paint the innerside of the candle body in gree or 
> red depending on the above condition, in a way that the original color 
> of the candle is also visible. My goal is to draw a line inside the 
> candle that is not as thick as the original candle. 
> I hope this is clear enough.
> Any help is appreciated.
> 
> thanks
> 
> 
> 
> 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
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.21.2/1304 - Release Date: 2/29/2008 
> 8:18 AM
> 
>

Reply via email to