Hi Mi, 
  
In your first statement, several possible reasons could cause a value 
of 0.   If your data has a 0 for the C, H, L or V then you are 
multiplying by 0 which will return 0.   If H equals L then H-L 
will equal 0.    
  
When I code your first line and apply it randomly to stocks in my database, 
I do not get 0. Are you using Forex or some data that carries out to 4 decimal 
places?  Have you set AB to display data at 4 decimal places (Tools -> 
Miscellaneous )? 
  
Maybe provide the entire code and something else will suggest a 
solution. 
  
Peace and Justice   ---   Patrick 
  ----- Original Message -----  
  
  
  Sent: Wednesday, January 27, 2010 11:50 
  AM 
  Subject: [amibroker] 
  SUM(???????????) 
  
  Hi all,
  III = Sum((2*C-H-L)/(H-L)*V,21);
  Please 
  can anybody tell me why III is {EMPTY} I tried already this doesn't worked 
  at all III = (2*C-H-L)/(H-L)*V; III = Sum(III,21);
 
  Thanks for 
  your help
 
 
 
  ------------------------------------
  **** 
  IMPORTANT PLEASE READ **** This group is for the discussion between users 
  only. This is *NOT* technical support channel.
  TO GET TECHNICAL 
  SUPPORT send an e-mail directly to  SUPPORT {at} amibroker.com
  TO 
  SUBMIT SUGGESTIONS please use FEEDBACK CENTER at http://www.amibroker.com/feedback/ (submissions 
  sent via other channels won't be considered)
  For NEW RELEASE 
  ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/
  Yahoo! 
  Groups Links
  <*> To visit your group on the web, go 
  to:     http://groups.yahoo.com/group/amibroker/
  <*> 
  Your email settings:     Individual Email | 
  Traditional
  <*> To change settings online go 
  to:     http://groups.yahoo.com/group/amibroker/join     
  (Yahoo! ID required)
  <*> To change settings via 
  email:     amibroker-digest@xxxxxxxxxxxxxxx 
       amibroker-fullfeatured@xxxxxxxxxxxxxxx
  <*> 
  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/
  
 
    
    
 
__._,_.___
  
**** IMPORTANT PLEASE READ **** 
This group is for the discussion between users only. 
This is *NOT* technical support channel. 
 
TO GET TECHNICAL SUPPORT send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at 
http://www.amibroker.com/feedback/ 
(submissions sent via other channels won't be considered) 
 
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: 
http://www.amibroker.com/devlog/ 
 
  
     
    
 
      
   
__,_._,___
 |