| 
 
 Hi Mi,   Graph0 is old (very old) code, retained for backwards compatibility.  
If used you must also use other statements with it.  The Plot statement 
incorporates all necessary arguments and should be 
used.  Try:   Plot(III, "III Indicator), colorblue, styleline, 0,0,0,0);   Should plot now (unless your background is blue, in which case change the 
colorblue to coloryellow).   Peace and Justice   ---   Patrick 
  ----- Original Message -----  Sent: Wednesday, January 27, 2010 1:34 
  PM Subject: [amibroker] Re: 
  SUM(???????????) Hi Patrick
 
 thanks for your answer, here is the whole 
  code
 
 III = Sum((2*C-H-L)/(H-L)*V,21);
 Graph0=III;
 
 that's all, 
  very simple and  O, H, L, C and V isn't 0. So I have no more idea what to 
  do.
 
 Regards
 
 Mi
 
 
 
 --- In amibroker@xxxxxxxxxxxxxxx, "NW 
  Trader" <ta4charts@xxx> wrote:
 >
 > 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 -----
 >   
  From: Mi
 >   To: amibroker@xxxxxxxxxxxxxxx
 >   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
 >
 
 
 
 
 ------------------------------------
 
 **** 
  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/
 
 
 
 
 ![]()  
 
 __,_._,___
 |