value of last bar is LastValue(Close);
  ----- Original Message ----- 
  From: jim fenster 
  To: [email protected] 
  Sent: Saturday, June 19, 2010 9:22 PM
  Subject: [amibroker] making a variable static







  hey,

  I have a problem. Say I have a variable. It recalculates at every bar. Values 
could be 3,4,3,3,2 for example. The last bar is 2. Now I want to run a formula 
using only the last value of 2 on the entire data set. If I set according to 
the variable, it will use a different number for every bar. How do I just get 
it to run using the value 2?

  Thanks,

  Jim





  

Reply via email to