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

[amibroker] Re: Volume Bar Widths and Colors!



PureBytes Links

Trading Reference Links

Jayson,

I like the % of average volume code and added that to my own.

Thanks!
Chris


--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Might as well throw mine out as well. It offers colored bars and 
feedback on
> the days vol as compared to the volumes  MA and today's price move 
as
> compared to its ATR. Both the look back for MA and ATR are 
parameter
> adjustable....
> 
> Regards,
> Jayson
> 
> ATRparm=Param("ATR Look Back",14,10,50);
> x=ATR(atrparm);
> y=(x/C)*100;
> z=(ATR(1)/C)*100;
> Vparm=Param("Vol MA",50,10,200);
> Plot(V,"Volume",IIf(C>Ref(C,-
1),colorBrightGreen,colorRed),2|styleThick);
> Plot(MA(V,vparm),"Vol Average " ,colorYellow,4);
> Value1=ATR(1)/y*10;
> Plot(y,"% of Vol Average "+WriteVal(V/MA(V,vparm)*100,1.0) +"%"+" 
ATR %"
> ,colorWhite,styleOwnScale |1);
> GraphXSpace=3;
> Title="% of Vol Average = "+WriteVal(V/MA(V,vparm)*100,1.0) +"%"+
> "\nToday's Percent of ATR ("+WriteVal(ATRparm,1.0)+")"+WriteVal
(z/y)+ "%"+
> "\n ATR % = "+WriteVal(y)+WriteIf(V<MA(V,50)/2," Very Little 
Volume","");
> WriteVal(Value1)+ " Percent of the normal ATR";
> 
> 
> 
> -----Original Message-----
> From: indiana0352 [mailto:cs_winn@x...]
> Sent: Sunday, September 21, 2003 10:16 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Volume Bar Widths and Colors!
> 
> 
> Here's what I use.  Up days are plotted in green adn down days in
> red.  There's also a EMA of volume overlaid with the PARAM function
> allowing you to adjust the Volume EMA period.
> 
> I don't think you can change the thichness of the bars though.
> 
> Chris
> 
> /*Volume Improved Version*/
> /*by Christopher Winn*/
> /*September 1st, 2003*/
> 
> /*Begin code*/
> 
> col = IIf ( Close > Ref (Close, -1), colorBrightGreen, colorRed);
> 
> Plot (Volume, "Volume +", Col, styleHistogram | styleThick);
> 
> VolumeEMA = Param ("Volume EMA", 26, 1, 50, 1);
> 
> Plot (EMA(Volume, VolumeEMA), "", colorBlue, styleLine |
> styleThick );
> 
> Title = Name() + "   " + Date() + "      Volume  " + WriteVal
> (Volume, 8.0) + " shares" + "        " + WriteVal (VolumeEMA, 1.0)
> + " Bar Volume EMA:  " + WriteVal (EMA(Volume, VolumeEMA), 1.0);
> 
> 
> /*end of code*/
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> > Here is code for volume that I use, but I don't think the bar
> width can be
> > changed. The previous code at least varied with the price bars
> when zooming.
> >
> > mycolor=IIf(C>O, colorBlue, IIf(C<O,colorRed,colorBlack));
> > Title = EncodeColor(LastValue(mycolor)) + Name()+" "+Date()+"
> Volume: "+V;
> > Plot(V,"", mycolor, styleHistogram+styleThick+styleNoLabel);
> >
> > Cheers,
> > Graham
> > http://groups.msn.com/ASXShareTrading
> > http://groups.msn.com/FMSAustralia
> >
> >
> > -----Original Message-----
> > From: run_for_your_life2003 [mailto:run_for_your_life2003@x...]
> > Sent: Monday, 22 September 2003 9:10 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Re: Volume Bar Widths and Colors!
> >
> >
> > Not exactly what I'm looking for....
> > The color of the volume does not match the price color on an 
close
> > up day.
> > When its volume is green the price color should be green!
> > When its volume is red the price should match the same color.
> >
> > How do I adjust those bars wider like double the width??
> > The red shows up in the green volume bar on the code below??
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> 
wrote:
> > > You could always try this in a custom indicator
> > > You could try this in a custom indicator
> > >
> > > PlotOHLC(0,V,0,V,"",colorblack,styleCandle);
> > > Cheers,
> > > Graham
> > > http://groups.msn.com/ASXShareTrading
> > > http://groups.msn.com/FMSAustralia
> > >
> > >
> > > -----Original Message-----
> > > From: run_for_your_life2003 [mailto:run_for_your_life2003@x...]
> > > Sent: Monday, 22 September 2003 2:27 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Volume Bar Widths and Colors!
> > >
> > >
> > > Is it possible to make the Volume bars wider or adjustable from
> > the
> > > base or adjust the scale and when the stock close up (green 
bars)
> > > and closes down (red bars)? With the price bar width the same 
as
> > the
> > > volume bar width. How do I do this???
> > >
> > > In the program the price bars are adjusted as you look for the
> > most
> > > recent days but the volume width is not changed in width.
> >
> > > 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
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> >
> >
> >
> > 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
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> 
> 
>       Yahoo! Groups Sponsor
>             ADVERTISEMENT
> 
> 
> 
> 
> 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
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Special Sale: 50% off ReplayTV
Easily record your favorite shows!
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/WUMW7B/85qGAA/ySSFAA/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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/