I believe that TJ initializes his ParamField variable to -1, which is the first plot on the chart, and that name is added at the bottom of the param list. Try editing the default name of the original price plot to "TEST" to see what I mean.
Steve
----- Original Message -----
Sent: Saturday, May 30, 2009 2:34 PM
Subject: Re: [amibroker] Question re price field parameter
Verified - Works on my machine as described.
On Sat, May 30, 2009 at 2:09 PM, James
<jamesmemphis@ yahoo.com> wrote:
Can someone please verify if this is just happening to me? Just drop the Amibroker simple MA from the charts onto a price chart and see if there are two Close in the price field parameter drop down box. If this is normal, why are there two close fields to choose from?
James
From: James <jamesmemphis@ yahoo.com>
To: amibroker@xxxxxxxxx ps.com
Sent: Friday, May 29, 2009 3:06:10 PM
Subject: [amibroker] Question re price field parameter
I have found that if I drop a moving average into a price chart, I am getting two "Close" in the price field parameter. Can anyone confirm they are seeing the same and if so explain why there are 2 "Close" price fields?
This does not cause a problem until I start using formulas that use setTimeFrame.
James