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

Re: [amibroker] Re: The reason



PureBytes Links

Trading Reference Links

i think this is what your asking ,,, anyway, here is the code i 
use , hope it helps ... colors my bars green on up days and red on 
down.. with a 50 day volume ma ... phil 

barcolor=IIf(C>Ref(C,-1),colorGreen,colorBlack);
barcolor=IIf(C<Ref(C,-1),colorRed,colorGreen);
//2=historgram

 
NumToStr(MA(Volume,50),colorYellow);


Plot( Volume,"Volume", barcolor, 2 );

Plot(MA(Volume,50),"50@ ",colorYellow);





--- In amibroker@xxxxxxxxxxxxxxx, "danielwardadams" 
<danielwardadams@xxxx> wrote:
> 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:
> > > > http://groups.yahoo.com/group/amiquote/messages/)
> > > > > --------------------------------------------
> > > > > Check group FAQ at:
> > > >
> > > 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:
> > > > http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > >
> > > 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.
> > > http://antispam.yahoo.com/tools



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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:
     http://docs.yahoo.com/info/terms/