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
0 registered members (), 18,561 guests, and 5 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 open file.fac #469283
11/10/17 09:09
11/10/17 09:09
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline OP
Newbie
Cheulmen  Offline OP
Newbie
C

Joined: Nov 2017
Posts: 34
I have a couple of problems:

1.- I changed the name of the workshop45, and then when I try to test it an error message saying: "Can't open workshop4_other.EURUSD.fac rt.2" appears. That file name doesn't appears anywhere in the workshop, and I don't understand why Zorro is searching for that file. What's that file?, how can I create it or whatever?

2.- Also, I'm trying to set the Capital variable in that same workshop, using just in the first line of run():

Capital= 1000;

But it doesn't seems to do nothing, and in the execution test it still says Capital 60$. What should I do to set the Capital for backtesting?

Last edited by Cheulmen; 11/10/17 09:10.
Re: can't open file.fac [Re: Cheulmen] #469285
11/10/17 10:12
11/10/17 10:12
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
If you want to generate a .fac file, you must click the [Train] button. But read before about what training does and what for it is used. It's covered in workshop 5 and 6. In workshop 6 you can also see how the Capital parameter is used. If you encounter questions, just ask here. But wildly changing names and parameters will not work in a programming language.

Re: can't open file.fac [Re: jcl] #469287
11/10/17 10:32
11/10/17 10:32
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline OP
Newbie
Cheulmen  Offline OP
Newbie
C

Joined: Nov 2017
Posts: 34
Oh, so .fac files are generated while training, ok, understood!

Regarding Capital variable, you're right, I jumped directly trying to change it, my bad! I'll study workshop6 and then lets see. As a side note, I'm an experienced C programmer, but a beginner in algorithmic trading. Sometimes I think that I know more than I really know and I try to walk over importante steps... This is a lesson to learn for me (again); I have to read everything before ask!

Thanks for your help and for the prompt response laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1