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

Re: [amibroker] Colored Volume Bars



PureBytes Links

Trading Reference Links


In fact I take back what I said, it's good for some butnot 
all histogram, because you don't have the control of the Up/Down 
Clandestick fill color !.
 
Maybe Tomasz will be able to add this feature in some future 
version of AmiBroker !
 
Jon.
<BLOCKQUOTE dir=ltr 
>
----- Original Message ----- 
<DIV 
>From: 
jonf 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, October 27, 2001 1:22 
PM
Subject: Re: [amibroker] Colored Volume 
Bars

Mohan,
 
Using the candlestick for volume, this is a good idea, I 
think I will start to use it in all my chart that use histogram !
here the modified code for you graph:<FONT 
color=#000000>

upbar = C > 
<FONT 
color=#0000ff>Ref(C,-<FONT 
color=#ff00ff>1<FONT 
face="Courier New">);
<FONT 
face="Courier New">downbar = C< <FONT 
face="Courier New">Ref<FONT 
color=#000000>(C,-1<FONT 
color=#000000>);
<FONT face="Courier New" 
size=2>barcolor=<FONT 
color=#0000ff>IIf(downbar, <FONT 
color=#ff00ff>4, <FONT 
color=#0000ff>IIf(upbar, <FONT 
color=#ff00ff>5,<FONT 
color=#ff00ff>19) 
);
O = 
<FONT 
color=#0000ff>iif(downbar, V, <FONT 
color=#ff00ff>0<FONT 
face="Courier New" size=2>); 
C = 
<FONT 
color=#0000ff>iif(downbar, <FONT 
color=#ff00ff>0<FONT 
face="Courier New" size=2>, V);
<FONT face="Courier New" 
size=2>L=<FONT color=#ff00ff 
size=2>0; H = 
V;
<FONT face="Courier New" 
size=2>Graph2=<FONT face="Courier New" color=#000000 
size=2>C; 

<FONT face="Courier New" 
size=2>Graph2Style=<FONT 
color=#ff00ff>64;<FONT 
color=#000000>
<FONT face="Courier New" 
size=2>Graph2BarColor=barcolor;
Jon.
<FONT face="Courier New" 
size=2> 
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=yellayi@xxxx 
href="">yellayi@xxxx 
To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, October 27, 20019:14 
AM
Subject: [amibroker] Colored Volume 
Bars
I am interested in seeing colored volume bars . I wrote 
the following afl code. Is there anyway to increase the width of the 
bars even more? Using th candlestick option (Graph2style = 64). Thanks 
for any comments and help.upbar = C > 
Ref(C,-1);downbar = C< Ref(C,-1);barcolor=IIf(downbar, 4, 
IIf(upbar, 5,19) );Graph2=Volume;  Graph2Style=2+4; /* 
histogram + Thick */ 
Graph2BarColor=barcolor;Graph1=MA(Volume,16); /* Matches with 
default volume indicator in AMI */Graph1Color = 
19;mohanYour 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.