Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, degenerate_762, AndrewAMD, ozgur), 774 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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