PureBytes Links
Trading Reference Links
|
At 6:27 PM -0500 11/18/00, Robert Cavaleri wrote:
>You can see that the dates are definitely different, and also the
>values are different. Even when I look at the data where the dates
>*do* line up, the values are wrong. It's almost like the ADX(14) is
>being computed for an entirely different security?!
If the dates are different the two programs are obviously starting on different bars. The only thing I know of that can cause this is the MaxBarsBack setting. Set both of them to 300 or some other number and see if the dates change as you would expect.
The values of ADX can be different for the same date because of the time required to initialize the function. Look at the values at some date far away from the beginning and see if the values are the same. If so, it has to be an initialization issue.
Bob Fulks
|