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

[amibroker] Re: coloring candlesticks according to code?



PureBytes Links

Trading Reference Links

I forgot to clarify that I meant to specifically request the ability
to color the outline of the candlestick.  Doing so would help
tremendously with the contrast and readability of the candle.

Dave
--- In amibroker@xxxxxxxxxxxxxxx, "marketmonk777" <dlittner@xxx> wrote:
>
> Hi Steve,
> 
> I also agree and added my support to this feature in the feedback
> center sometime ago.  This is what I wrote:
> 
> -------------------------------------------------------------
> IMHO - it is the goal of all of us traders to proper interpret the
> current battle between the bulls and the bears (whether it be a 1 min
> candle or a daily candle).  The ability to modify these candles can
> give us that edge and for that reason I second the request to allow us
> to properly color the candle body.
> 
> Here are the rules that I tried to implement for coloring my candles:
> 
> Rule # 1:
> "Hollow White Candle(painted as Green - found out that a white candle
> on a white background just doesn't work well - duh!)"
> Close today >= Close yesterday and Close today >= Open
> C >= Ref(C,-1) AND C >= O
> 
> Rule # 2:  
> "Filled Red Candle"    
> Close today <= Close yesterday  
> C < Ref(C,-1) AND C <= O
> 
> Rule # 3:  
> "Black Candle"  Opens bullishly but closes bearishly
> Close today >= Close yesterday and closes today lower than the open.  
> C >= Ref(C,-1) AND C < O
> 
> Rule # 4:  
> "Hollow Red Candle"  Opens bearishly but closes bullishly.
> Open today below yesterdays close and closes today higher than the
open.  
> C < Ref(C,-1) AND C > O
> 
> It is rule #3 and #4 that provide a unique view of the battle.
> 
> Yes one can see that relationship without the special coloring, but
> then again the same arguement is made about why to use candles over
> bar charts.
> 
> This is a feature of Stockcharts.com that I very much like and have
> found it very useful.
> 
> Please consider providing us the ability to color our candles.
> ---------------------------------------------------------
> 
> As more folks understand how they can use this enhancement they may
> also express a desire to see this feature.
> 
> Tomasz is doing such an amazing job with AB and I know of no other
> developer that is so attentive to the needs of his customers.  I tip
> my hat to him and pledge to be a lifeline customer.
> 
> Dave
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "scourt2000" <stevehite@> wrote:
> >
> > 
> > Thomas,
> > 
> > > Yes, it's easy, take a look:
> > 
> > What's not easy is getting Marcin and Tomasz to realize that you 
> > still cannot independently outline the colored candles (e.g., in 
> > black) to make them stand out better from the background chart 
> > color.  
> > 
> > I refer you to (my) Issue #36 on the Amibroker website.   Look at 
> > the side-by-side pic associated with that report.  You can try 
> > flipping between:
> > 
> > 1. Body outline and shadows
> > 2. Body outline only
> > 3. Shadows only
> > 4. None, up candle solid
> > 5. None, up candle hollow
> > 
> > And nothing will allow you to outline user-specified candle colors 
> > while still maintaining the solid body colors you programmed in for 
> > each specific candle.
> > 
> > But Tomasz is the boss.  If he wants to believe that what I reported 
> > can be done in Amibroker, then, when I clearly show that you cannot, 
> > there's nothing else I can do but drop the issue and live with it.  
> > Tomasz is super busy with more important issues that some of these 
> > little things that make charts pleasing to the eye wind up getting 
> > thrown to the wayside.
> > 
> > [I'll bet its a trivial amount of C++ code to fix this issue.]
> > 
> > Steve
> > 
> > P.S. Tomasz constructively criticised a poster in this forum for not 
> > being able to be more specific (in comparing Ensign charts with 
> > Amibroker)when he said that "Amibroker charts don't seem as 'crisp' 
> > as Ensign's".  Well, what I'm talking about here is a specific 
> > example of how a detail like this makes your charts look 
> > more "crisp".   Look at those side-by-side eSignal/Amibroker pics I 
> > posted with that Issue #36.  The left one is "crisp".  The right one 
> > blends too much with the background color I like to have on my 
> > charts.
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "Thomas Z." <tzg@> wrote:
> > >
> > > Yes, it's easy, take a look:
> > > 
> > >  
> > > 
> > > Candlecolor = IIf(C>O,colorGreen,IIf(C<O,colorRed,colorLightBlue));
> > > 
> > > Plot(C,"C",Candlecolor,styleCandle);
> > > 
> > >  
> > > 
> > > Thomas
> > > 
> > >  <http://www.tradingbasis.com/> www.tradingbasis.com
> > > 
> > >  
> > > 
> > >   _____  
> > > 
> > > From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] 
> > On Behalf
> > > Of sdp_51
> > > Sent: Sunday, October 22, 2006 4:45 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] coloring candlesticks according to code?
> > > 
> > >  
> > > 
> > > i want to color candlesticks according to some logic in my code, 
> > not 
> > > whether down or up, is this possible?
> > > 
> > > i hope so
> > >
> >
>




Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006