| 
 you approach is basicly OK. Can see what's wrong. 
Below I show one of mine, maybe that help, rgds, Ed 
  
  
col = IIf( Close >= Ref( 
Close, 
-1 ), IIf(Close == Ref(Close,-1),colorYellow,colorBrightGreen), colorRed );  Plot( Volume, "Volume", 
col, styleHistogram 
| styleThick); 
 
  
  
  
  ----- Original Message -----  
  
  
  Sent: Saturday, January 22, 2005 11:11 
  PM 
  Subject: [amibroker] Plotting volume in 
  different colors 
  
  I am new to AB. I am trying to plot volume in different 
  colors with this formula. But, the histogram shows only one color. Anyone 
  can show me a workable way? 
  Plot(V, "Volume", IIf(C>O, 
  colorGreen, colorRed),styleHistogram );
  Thank you in 
  advance.
  Manyit
 
 
 
 
  Check AmiBroker web 
  page at: http://www.amibroker.com/
  Check 
  group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  
  
  
Check AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  
 
 
Yahoo! Groups Links 
  |