PureBytes Links
Trading Reference Links
|
Yes! Thank you, I made a mistake. The plot in the ADX window needed to have it's max bars back setting set to 'user specified'. I saw 50 in the dialog which is what the strategy was referring to, but it was showing some other value from 'auto-detect'. This
snapped everything into line, and explains the printing discrepancy.
Once again, you have my thanks!
Robert
Bob Fulks wrote:
> 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
|