I meant to add, TJ functions are always correct and at times it's up to us to 
understand how to use them. 
Joe. 

  ----- Original Message ----- 
  From: brysio4 
  To: [email protected] 
  Sent: Friday, May 23, 2008 1:59 AM
  Subject: [amibroker] Difference between values (newbe Q)


  Hi,

  I'm newbe in AFL. Sorry for "stupid" question.

  I have some lines of code:

  ....

  P = ParamField("Price", -1);
  b = LinRegSlope (p, 60);
  bv = LastValue (LinRegSlope (p, 60));

  ...

  I know that b is an array and bv is a numeric value. But why b <> bv?
  Even sometimes b > 0 and bv < 0 (or opposite).

  I check vslues with _TRACE function and DebugView.

  Regards,

  Piotr Rysak



   

Reply via email to