Can't get correct indicator values from StartDate

Posted By: ytc

Can't get correct indicator values from StartDate - 06/06/17 13:06

If I create a csv with some indicators from 2007, f.i. ADX(15), I got the identical ADX(15) value at the first 69 data(20170105-20170411).

But if I create the csv from 2006, the ADX(15) in the above time period varied normally.

How can I get the correct indicator value from the very beginning of the defined time period?

Many thanks.
Posted By: jcl

Re: Can't get correct indicator values from StartDate - 06/09/17 14:47

Not at all. Almost all indicators need lookback history for outputting a value.
Posted By: ytc

Re: Can't get correct indicator values from StartDate - 06/09/17 22:14

Oh, LookBack is set for skipping the miscalculation period from the beginning.

I used to think LookBack is to give enough price history for indicator calculation, so the indicator value would be right from the StartDate.

Is my understanding correct this time?
Posted By: jcl

Re: Can't get correct indicator values from StartDate - 06/10/17 11:53

When you gave a real start date, not a file number, then yes.
© 2024 lite-C Forums