PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Dan,
<FONT face=Arial color=#0000ff
size=2>Certainly, just add an iff statement. Here is an example with a user
defined MA....
<FONT face=Arial color=#0000ff
size=2>
dn = <FONT
color=#0000ff>IIf( <FONT
size=2>Close<FONT
size=2><Ref(<FONT
size=2>Close<FONT
size=2>, -1),<FONT
size=2>Volume<FONT
size=2>,0<FONT color=#282828
size=2>);
up = <FONT
color=#0000ff>IIf( <FONT
size=2>Close<FONT
size=2>>Ref(<FONT
size=2>Close<FONT
size=2>, -1),<FONT
size=2>Volume<FONT
size=2>,0<FONT color=#282828
size=2>);
barcolor=<FONT
face=Arial>IIf<FONT
size=2>(C<FONT
color=#0000ff><Ref<FONT
size=2>(C<FONT
color=#0000ff>,-1<FONT
size=2>),4,<FONT
size=2>IIf(<FONT
size=2>C<FONT
size=2>>Ref(<FONT
size=2>C<FONT
size=2>,-1),<FONT
size=2>5,4<FONT
color=#282828 size=2>));<FONT
face=Arial color=#0000ff size=2>
Plot(<FONT
face=Arial size=2>V<FONT face=Arial color=#282828
size=2>,"Volume"<FONT
face=Arial color=#282828 size=2>,barcolor,<FONT face=Arial color=#ff00ff
size=2>2);
pds=<FONT
size=2>Param("Vol MA"<FONT
size=2>,50,<FONT
size=2>5,200<FONT
size=2>,1<FONT face=Arial color=#282828
size=2>);<FONT face=Arial color=#0000ff
size=2>
Plot(<FONT face=Arial
color=#0000ff size=2>MA<FONT face=Arial color=#282828
size=2>(V<FONT face=Arial
color=#282828 size=2>,pds),"
MA",<FONT face=Arial
size=2>colorYellow,<FONT
face=Arial color=#ff00ff size=2>1<FONT face=Arial color=#282828
size=2>);
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: danielwardadams
[mailto:danielwardadams@xxxxxxxxx]Sent: Saturday, February 28, 2004
1:48 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Re: how to plot "price by volume" indicatorIs 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/toolsSend
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.
|