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

[amibroker] Re: Paint body of candle



PureBytes Links

Trading Reference Links

Try this
Impulse_UP= RSI(14)<20;
Impulse_Down= RSI(14) >80;
bar_kol=IIf(impulse_UP,colorGreen,colorRed);
Plot(Close," Close",bar_kol,styleCandle| styleThick  );

--- In amibroker@xxxxxxxxxxxxxxx, "pmxgs" <pmxgs@xxx> wrote:
>
> 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/