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

RE: [amibroker] Re: Color coding of bars



PureBytes Links

Trading Reference Links




Check 
my post earlier........
<IMG 
align=baseline alt="" border=0 hspace=0 
src="gif00316.gif">
<SPAN 
class=244085904-19052003> 
This 
was produced using the code you posted..
<SPAN 
class=244085904-19052003> 
<FONT 
color=#282828> 
up=C>Ref( 
HHV(H ,3 ) ,-1<FONT 
color=#0000ff face=Arial>);<FONT 
face=Arial>
dn=L<Ref( 
LLV(L ,3 ) ,-1<FONT 
color=#0000ff face=Arial>);<FONT 
face=Arial>
color=IIf(up, colorBlue, 
IIf(dn, colorRed, colorBlack<FONT 
color=#282828>));
 
Plot( <FONT 
color=#000000>Close<FONT 
color=#282828>, "Price", 
color, styleCandle<FONT 
color=#282828 face=Arial size=2> );
 
with 
preferences/charting/candlesticks set to none....

 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: global_investor 
[mailto:independent_opinion@xxxxxxx]Sent: Sunday, May 18, 2003 10:09 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
Color coding of barsI appreciate all replies, but my 
point hasn't been really understood so far (maybe because my English was too 
poor).In the meantime I've noted too that the color in which the body of 
a candle is drawn can be manually set via the 
Tools->Preferences->Colors dialog.There are two colors 
variables:- Up candlestick- Down candlestickUnfortunately, there 
doesn't appear to be any way to set the candle body color programatically 
(from AFL) for individual bars.With assignments to graphNBarColor or the 
color parameter in the plot() function only the color of the candle 
_outlines_ can be specified. The candle body, however, for up/down candles 
respectively does always get filled in the color specfied via the the 
preferences menu.There doesn't appear to be a way to set the candle body 
color individually for single candles.I'd appreciate a comment from 
Tomasz Janeczko regarding this matter. If there is no way to set the 
color of individual candle bodies, it would constitute a serious drawback / 
design weakness, as the color coding feature is then almost useless compared 
to Metastock.  But maybe there is a way which is just not documented in 
the help file.Yes, I'm aware that most traders use only the simple setup 
where up candles are just colored in one color and down candles in another, 
but I personally hate this setup and use the color coding in Metastock 
to highlight various technical criteria.  After all, up-/down candles 
can be already distinguished sufficiently by filling the candle body or 
leaving it hollow/unfilled (the latter is equivalent to filling it in the 
background color).  The actual color can be used for more important 
things.Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Attachment: Description: ""