Hi,
You may find the following document useful for some ideas (thanks to
Herman):
http://www.amibroker.org/3rdparty/IntroToAtc.pdf
Additionally, be sure to study page 17 to ensure that your immediate
Foreign usage of ~MyIndex within a single exploration is behaving as
you expect.
Mike
Thanks Mike. I had read that doc. And I did notice I had to run
Explore a couple of times to get things to converge properly.
My basic problem is I cannot use yesterdays Index times the
Multiplier to get todays Index. Something like:
Index = Ref(Index,1) * Multiplier
This doesn't work and
Todd,
Index = Ref(Index,1) * Multiplier
A few observations:
1. You should use Ref(..., -1) if you want the previous bar's value.
2. Uninitialized variable errors come from trying to use a variable
that has not yet been assigned a value. In your example, if this is
the first time you are
Ref(C,-1)...Oh yeah. Forgot. I meant what I knew to say.
Thanks! These are exactly the hints I need. I'll give it another shot.
Todd K.
--- In amibroker@yahoogroups.com, Mike [EMAIL PROTECTED] wrote:
Todd,
Index = Ref(Index,1) * Multiplier
A few observations:
1. You should use