PureBytes Links
Trading Reference Links
|
As noted before (message 120733) you can do this with
dots (see attached screen shot showing dots and code). To get exactly what
you want I suspect that you will have to do something fancy but in my world
easy is good.
Bill
----- Original Message -----
Sent: Monday, March 10, 2008 10:28
AM
Subject: [amibroker] Re: Paint body of
candle
>
Hi, > > I've tried both suggestions, but the problem is that I want
the > original candle to be visible also. > For example: supposing
that the close<open I get a red candle. But > according to my criteria
this candle is green. So I would like to > have a green thick vertical
line inside the red "original" body of > the candle. > I also tried
with > condition=.... >
PlotOHLC(O,Max(O,C),Min(O,c),C,"Paintbar",IIF >
(condition,colorgreen,colorred),styleare|styleownscale); which > doesn't
work. > What I would like is something like a thinner body inside of the
> original body of the candle, so that I can see the original color of
> the candle(if it is an up or down cande) but also the color of the
> vertical line inside the original candle. > Can this bo done
possible? > If you need a printscreen of what I'm describing please tell
me. > This is done in Metatrader and I'm trying to convert this into
AB. > > thanks > > > --- In
amibroker@xxxxxxxxxxxxxxx,
"khaleel_sk" <indbears@xxx> wrote: >> >> 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@> 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
__,_._,___
Attachment:
2008-03-10_105742.gif
Description: GIF image
|