Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,507 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro crash on mutltiple asset loop on 1mn timeframe #445852
09/27/14 14:00
09/27/14 14:00
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
I'm a beginner and I'm working my way through the Zorro workshops.

Workshop6_1 has a multiple asset loop. By default, the 60mn works. Try to run Workshop6_1 on a 1mn and it crashes. I have 8GB of memmory and Zorro is the only app running on that laptop.

Can Zorro run a multiple asset loop on a 1mn timeframe without crashing? If so, would someone please post that loop?

I'm stuck and ready to quit to go back to my previous trading platform "Forex Generator". Running mutliple asset on *any* timeframe is critical for a trading platform.

Why do we have to create a loop for mutliple asset in the first place? Am I the only person thinking that Zorro trading platform should include a function for multiple assets? Let's call it AssetList.

It would be as simple as:
AssetList = ("EUR/USD","USD/JPY",....);

The trader having to make a loop for a basic function, that the trading platform should already include, introduces unnecessary complexity and fragility.

I digress and I'm sorry that my first post is a bit of a rant. Zorro is a fantastic idea and the advices/tips on trading in the documentation are the best I have seen on any platform.

Last edited by mustang; 09/27/14 14:38.
Re: Zorro crash on mutltiple asset loop on 1mn timeframe [Re: mustang] #445861
09/27/14 18:20
09/27/14 18:20
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Out of memory means, the data needs more memory that you have. This has nothing to do with loops, you must make do with the 2 GB limit per win32 process. You can not load unlimited amounts of price data.

Re: Zorro crash on mutltiple asset loop on 1mn timeframe [Re: Spirit] #445862
09/27/14 18:32
09/27/14 18:32
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
Thank you for the information. I'm running this on Windows7-64bit but Zorro is installed in the "Program Files (x86)" meaning it's running in 32bit with the 2GB memory limit.

1. How do you pass that limit?
2. Yourself, can you run workshop6_1 on 1mn timeframe without error?

Thanks for helping.

Last edited by mustang; 09/27/14 18:37.
1mn timeframe [Re: mustang] #445864
09/27/14 19:15
09/27/14 19:15
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I have not tried it but am sure that I can not, no one can run a 6 year test with one-minute data and 2 GB memory. What do you need such a test for? If youre scalping with 1m data you normally test a couple months but not 6 years. I doubt that a bar period of one minute is of any use anyway, prices in that small time frame are normally just noise and you wont get any profitable system from them.

But if you really want to test 6 years with one minute bar periods then I would split the test period into several parts.

Re: 1mn timeframe [Re: Spirit] #445865
09/27/14 19:56
09/27/14 19:56
Joined: Sep 2014
Posts: 24
M
mustang Offline OP
Newbie
mustang  Offline OP
Newbie
M

Joined: Sep 2014
Posts: 24
Spirit thank you SO much!
I have changed StartDate from 2004 to 2014 and it works. No memory error.
I do not need a long history at all.
All I was trying to do is test a small strategy on a live MT4 demo graph.
Using 60mn timeframe is like watching paint dry. This is why I needed the 1mn timeframe so I can see some action and mak sure my code is behaving as expected before adjusting to the true timeframe for testing and trading.
Thank you very much for your help.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1