wow awesome thanks.
________________________________ From: Ara Kaloustian <[email protected]> To: [email protected] Sent: Sun, June 20, 2010 12:30:38 AM Subject: Re: [amibroker] making a variable static value of last bar is LastValue(Close) ; ----- Original Message ----- >From: jim > fenster >To: amibro...@yahoogrou ps.com >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 > >
