Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can't get correct indicator values from StartDate #466294
06/06/17 13:06
06/06/17 13:06
Joined: Nov 2016
Posts: 55
Taipei
ytc Offline OP
Junior Member
ytc  Offline OP
Junior Member

Joined: Nov 2016
Posts: 55
Taipei
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.

Re: Can't get correct indicator values from StartDate [Re: ytc] #466334
06/09/17 14:47
06/09/17 14:47
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Not at all. Almost all indicators need lookback history for outputting a value.

Re: Can't get correct indicator values from StartDate [Re: jcl] #466340
06/09/17 22:14
06/09/17 22:14
Joined: Nov 2016
Posts: 55
Taipei
ytc Offline OP
Junior Member
ytc  Offline OP
Junior Member

Joined: Nov 2016
Posts: 55
Taipei
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?

Re: Can't get correct indicator values from StartDate [Re: ytc] #466347
06/10/17 11:53
06/10/17 11:53
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
When you gave a real start date, not a file number, then yes.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1