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

[amibroker] Re: how to plot "price by volume" indicator



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Phil,
the 
syntax for plot is   
plot(array,"Name",color,style)
<FONT face=Arial color=#0000ff 
size=2> 
I 
defined a variable called barcolor in the previous line which made the up/down 
color changes requested by Dan. The '2' that you refer to is the style code for 
histogram. In the help file search "Plot" and you will find a full description 
of custom colors and styles. 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: dorzfn@xxxxxxxxx 
[mailto:dorzfn@xxxxxxxxx]Sent: Saturday, February 28, 2004 10:06 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
how to plot "price by volume" indicatorJayson,  In 
the following line of code:Plot(V,"Volume",barcolor,2); what i read 
under help section the '2' is for a custom color 3.when i change the #2,to 
22 its thick lined historgram.could you please tell me why that is or were 
in the help section i can reference these #'s in your code.. thank you very 
much , phil --- In amibroker@xxxxxxxxxxxxxxx, "Jayson" 
<jcasavant@xxxx> wrote:> Dan,> Certainly, just add an iff 
statement. Here is an example with a user defined> MA....> 
> > dn = IIf( Close<Ref(Close, -1),Volume,0);> up = IIf( 
Close>Ref(Close, -1),Volume,0);> 
barcolor=IIf(C<Ref(C,-1),4,IIf(C>Ref(C,-1),5,4));> 
Plot(V,"Volume",barcolor,2);> pds=Param("Vol MA",50,5,200,1);> 
Plot(MA(V,pds)," MA",colorYellow,1);> > > > > 
Regards,> Jayson> -----Original Message-----> From: 
danielwardadams [mailto:danielwardadams@xxxx]> Sent: Saturday, February 
28, 2004 1:48 PM> To: amibroker@xxxxxxxxxxxxxxx> Subject: 
[amibroker] Re: how to plot "price by volume" indicator> > 
> Is there any way to print different colors for up and down 
volume> bars (like most charting sorware provides)?> > 
TIA,> Dan> > --- In amibroker@xxxxxxxxxxxxxxx, "marcinggg" 
<marcin@xxxx> wrote:> > Hi,> >> > YES - just 
choose Volume at Price LINE CHART> >> > you can also change 
it's properties in following fields:> > # levels> > Percent 
width> >> > Best regards> >> > Marcin 
Gorzynski> > amibroker.com> >> >> 
>> > > got it. thx.> > >> > > btw, is 
there a way to plot "volume at price" by bar> > > chart instead of 
solid area? just i am very used to> > > that style.> > 
>> > > regards.> > >> > >> > 
> --- Tomasz Janeczko <amibroker@xxxx> wrote:> > > > 
Hello,> > > >> > > > Go to Tools->Preferences 
"Main chart"> > > > and select the mode you like the most from 
"Volume> > > > At Price" combo-box.> > > 
>> > > > Best regards,> > > > Tomasz 
Janeczko> > > > amibroker.com> > > > ----- 
Original Message -----> > > > From: "hl_107" 
<hl_107@xxxx>> > > > To: 
<amibroker@xxxxxxxxxxxxxxx>> > > > Sent: Friday, February 
27, 2004 1:38 AM> > > > Subject: [amibroker] how to plot "price 
by volume"> > > > indicator> > > >> > 
> >> > > > > how do i plot the "price by volume" 
indicator> > > > horizontally, on left> > > > 
> side of the price chart?> > > > >> > > > 
> thx.> > > > >> > > > >> > 
> > >> > > > >> > > > >> 
> > > > Send BUG REPORTS to bugs@xxxx> > > > > 
Send SUGGESTIONS to suggest@xxxx> > > > > 
-----------------------------------------> > > > > 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> 
> > >> > > > > Yahoo! Groups Links> > > 
> >> > > > >> > > > >> > 
> > >> > > > >> > > > >> 
> > >> > > >> > > > Send BUG REPORTS to 
bugs@xxxx> > > > Send SUGGESTIONS to suggest@xxxx> > 
> > -----------------------------------------> > > > 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> 
> > >> > > > Yahoo! Groups Links> > > 
>> > > >> > > >      
amibroker-unsubscribe@xxxxxxxxxxxxxxx> > > >> > > 
>> > > >> > >> > >> > 
> __________________________________> > > Do you Yahoo!?> 
> > Get better spam protection with Yahoo! Mail.> > > <A 
href="">http://antispam.yahoo.com/tools> 
> > > Send BUG REPORTS to bugs@xxxx> Send 
SUGGESTIONS to suggest@xxxx> 
-----------------------------------------> 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> 
> > > 
----------------------------------------------------------------------------> 
----> Yahoo! Groups Links> >   a.. To visit your 
group on the web, go to:>   <A 
href="">http://groups.yahoo.com/group/amibroker/> 
>   b.. To unsubscribe from this group, send an email 
to:>   amibroker-unsubscribe@xxxxxxxxxxxxxxx> 
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! 
Terms of Service.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 



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








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.