Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,786 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Last Candle for Testing and Train? #483203
05/10/21 17:07
05/10/21 17:07
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I have a question. How add last ( current -1) candle into Train and test?

I have this:
Code
    BarPeriod = 15;	// 15 min
    LookBack = 1;
    StartDate     = 20200402;
    EndDate       = 2021;   //518


now is 2021/05/10 17:05 GMT

but I get last candle in Test:
2021/05/09 17:00

this is a delay 24 hours.

I also try
EndDate = NOW;
EndDate = 0;


Attached Files Snímek obrazovky 2021-05-10 v 19.02.30.png
Last edited by Grat; 05/10/21 17:31.
Re: Last Candle for Testing and Train? [Re: Grat] #483217
05/11/21 12:14
05/11/21 12:14
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
I normally expect that the test runs until the last candle when no end date is given. Are you sure that your history has more candles?


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1