Neither takes array as 2nd.  See syntax in Users Guide.
  ----- Original Message ----- 
  From: aaryan111 
  To: [email protected] 
  Sent: July 12, 2010 3:41 PM
  Subject: [amibroker] Sum and Stdev , wierd behaviour of stdev


  Hi Everybody, 

  Both Sum() and Stdev() Functions Have same Arguments Structure.but when i put 
  Sum(Close,BarsSince(TimeNum()>092400))
  it executes successfully,while 
  Stdev(Close,BarsSince(TimeNum()>092400))
  gives a warning " Function Expects Different type of argument here " . 

  as far as i understand , both can take array as 2nd argument and amibroker 
will automatically fetch the current running index value of that array as the 
2nd argument, same as it does with other functions. 

  one can put any other function returning array like barindex() in 2nd 
argument , result will be same. 

  Any suggestions??

  Regards,



  ------------------------------------

  **** 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



Reply via email to