Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (JeyKey II), 8,409 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
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