| 
 PureBytes Links 
Trading Reference Links 
 | 
Here is another version.
_SECTION_BEGIN("Chaikin Vol Accum");
tl = 10;
Chai = ((( Close-LLV( Close,tl )) - (HHV(Close,tl)-Close)) /
(HHV(Close,tl) - LLV(Close,tl))) * Volume;
Plot(Chai,"Chaikin Vol Accum", IIf(Chai>0,ParamColor ("up Color", colorBlue),
ParamColor ("down Color", colorRed)),ParamStyle("Style",styleHistogram+styleThick,maskAll));
_SECTION_END();
Regards,
William Peters
http://www.amitools.com
Saturday, October 15, 2005, 5:54:09 PM, you wrote:
  
d>  I am using Amibroker v4.70 on Windows 2000 server with EOD data.
d>  Below is the code I use to produce the Chaikin money flow in histogram
d>  form.  I'd like to color the histogram so when it is positive it is
d>  blue and negative it is red.  How would I do this?
d>  =======================================================
d>  _SECTION_BEGIN("Chaikin Vol Accum");
d>  tl = 10;
d>  Chai = ((( Close-LLV( Close,tl )) - (HHV(Close,tl)-Close)) /
d>  (HHV(Close,tl) - LLV(Close,tl))) * Volume;
d>  Plot(Chai,"Chaikin Vol Accum", ParamColor ("Color", colorRed),
d>  ParamStyle("Style",0,maskAll));
d>  _SECTION_END(); 
    
d>  Please note that this group is for discussion between users only.
d>  To get support from AmiBroker please send an e-mail directly to 
d>  SUPPORT {at} amibroker.com
d>  For other support material please check also:
d> http://www.amibroker.com/support.html
      
  
d>   SPONSORED LINKS  
d>         Investment management software      Real estate
d> investment software      Investment property software         
d> Software support      Real estate investment analysis software     
d> Investment software              
  
  
d>   YAHOO! GROUPS LINKS
d>    Visit your group "amibroker" on the web.
d>     To unsubscribe from this group, send an email to:
d>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
d>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  
    
  
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
 
 |