Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 989 guests, and 2 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
Change StartDate/EndDate Between Cycles #476165
01/31/19 18:12
01/31/19 18:12
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
Is it possible to run consecutive cycles over different time periods?
Something like StartDate = x + TotalCycle?

This works for many parameters but not the StartDate, persumably because that is loaded prior to the run function.

Or is that only possible via command line and thus Zorro S?

Re: Change StartDate/EndDate Between Cycles [Re: gamadeus] #476167
01/31/19 21:14
01/31/19 21:14
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
Make a batch script. You can see how it is done here:

https://www.financial-hacker.com/whites-reality-check/
https://www.financial-hacker.com/boosting-systems-by-trade-filtering/

Note that you will need to download the 2015 script samples from the blog to get the batch script.

Re: Change StartDate/EndDate Between Cycles [Re: AndrewAMD] #476168
01/31/19 21:32
01/31/19 21:32
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
Yeah I know that but passing variables from a batch file only works with Zorro S doesnt it?

Re: Change StartDate/EndDate Between Cycles [Re: gamadeus] #476171
01/31/19 23:28
01/31/19 23:28
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
Correct, but look at what the batch script is doing instead of passing variables. Hint, hint! wink

Re: Change StartDate/EndDate Between Cycles [Re: AndrewAMD] #476174
02/01/19 21:47
02/01/19 21:47
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
you mean calling individual scripts?
thats what im doing now anyway, manually

Re: Change StartDate/EndDate Between Cycles [Re: gamadeus] #476175
02/01/19 21:54
02/01/19 21:54
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
If you look at the scripts being called, you will find that the bulk of the code is in a common sub-script, and the mini-scripts include the sub-script. It's a pretty slick workaround.

Re: Change StartDate/EndDate Between Cycles [Re: AndrewAMD] #476176
02/01/19 22:07
02/01/19 22:07
Joined: Nov 2018
Posts: 55
G
gamadeus Offline OP
Junior Member
gamadeus  Offline OP
Junior Member
G

Joined: Nov 2018
Posts: 55
oh, i didn't bother looking at the scripts. pretty slick, yes.
thanks for the hint!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1