| 
 
 Hi Benjamin,   WC()  is apparently a reserved term -- the clue is when you type wc, 
it changes to upper case (Same as C, O, H, L, etc.).  Try renaming your 
variable to W_C and it should work.     I don't know what WC() does off hand -- it's not in the help file yet and 
so I think it has been recently introduced and not documented.  It may have 
to do with weekly compression as the help file does have a wc = 
TimeFrameCompress( Close, inWeekly ); included in it's examples.    Hope this helps.    Peace and Justice   ---   Patrick 
  ----- Original Message -----  Sent: Tuesday, January 12, 2010 8:41 
  PM Subject: [amibroker] Help with 
  Formula Hi,
 
 I am trying to run a AFL Formula or Indicator, but I 
  have a problem with this line:
 
 // 
  week
 WH=Week_h;
 WL=Week_l;
 WC=Week_c;
 
 the last line WC=Week_c; 
  show me
 
 
 Error 31 Syntax Error expecting "("
 
 But really 
  don't understand the problem,
 
 Do you could help me 
  ?
 
 Thanks
 
 
 
 ------------------------------------
 
 **** 
  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/
 
 
 
 
 ![]()  
 
 __,_._,___
 |