Re: [amibroker] Creating a surrogate for price?

2006-06-05 Thread Tomasz Janeczko
@yahoogroups.com Sent: Monday, June 05, 2006 4:40 PM Subject: RE: [amibroker] Creating a surrogate for price? Not sure what you are really after.What you did was create a reference to YESTERDAY's close. It will changeevery day as you discovered. If you just want the first close of theda

RE: [amibroker] Creating a surrogate for price?

2006-06-05 Thread Terry
roker] Creating a surrogate for price? Question: How do I reference the first close in a data set, perform a calculation on it and that becomes the new surrogate close going forward? ie. Dow close 5 yrs ago = 9500     surrogate dow close = 9500+5 If I use: InitalSurrogateClose = ref(c,-

[amibroker] Creating a surrogate for price?

2006-06-05 Thread orionsturtle
Question: How do I reference the first close in a data set, perform a calculation on it and that becomes the new surrogate close going forward? ie. Dow close 5 yrs ago = 9500     surrogate dow close = 9500+5 If I use: InitalSurrogateClose = ref(c,-1)+ 5 ; SurrogateClose = InitalSurrogateCl