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

Re: [amibroker] PlotOHLC & volume bars scaling problem



PureBytes Links

Trading Reference Links




Thanks Graham, but I really want the thicker bars 
that you get with PlotOHLC, not just a thick histogram.  
 
HB
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=gkavanag@xxxxxxxxxxxxxx 
  href="">Graham 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, February 13, 2003 
  23:48
  Subject: RE: [amibroker] PlotOHLC & 
  volume bars scaling problem
  How about this 
  formulaPlot(V,"volume",IIf(C>O,colorBlue,IIf(C<O,colorRed,colorPaleBlue)),styleHistogram+styleThick);Cheers,Graham-----Original 
  Message-----From: HB [mailto:hossamb@xxxxxxxxxxxx] Sent: Friday, 14 
  February 2003 12:30 PMTo: <A 
  href="">amibroker@xxxxxxxxxxxxxxxSubject: 
  [amibroker] PlotOHLC & volume bars scaling problemHello 
  all,I have a scaling problem when using PlotOHLC to plot thick volume 
  bars.Ifyou compare the 2 attached pics, you'll see that in image1, the 
  volumeforJan22 is approx 6.8M and for Jan23 it is approx 3.1M.  
  The comparitivesizeof the bars looks right.However, when I 
  zoom in, the bars are identical in size.  See image2.Is there 
  anyway to get the volume bar scaling looking like the built-involume 
  ?Using StyleNoRescale still doesn't do the trick.Here's the 
  AFL I use:// Color-coded thick volume barsupbar = C > 
  O;downbar = C < O;barcolor=IIf(downbar, colorRed, 
  IIf(upbar,colorBrightGreen,colorPaleBlue) );Open=IIf(upbar, 0, 
  V);Close=IIf(upbar, V, 
  0);High=Low=Open;PlotOHLC(O,H,L,C,"Volume",barcolor,styleCandle);Thanks,HBPost 
  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 
  Your use of Yahoo! Groups is subject to<A 
  href="">http://docs.yahoo.com/info/terms/ 
  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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT  









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.