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 = InitalSurrogateClose + 5;

it works for the first bar in the data set but then continues to
reference the real close. I need to Isolate this first surrogate close
and I an just not seeing it. Please help if you understand what I'm
after.

Thank you!






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to