Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Imhotep), 567 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Zorro 1.22 released! [Re: DdlV] #440078
04/17/14 16:57
04/17/14 16:57
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Can you explain in a little more detail how you got those wrong bars, possibly with a script example?

Re: Zorro 1.22 released! [Re: jcl] #440127
04/18/14 17:28
04/18/14 17:28
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. I have been unable to duplicate the exact thing I was seeing before. That was on 1.22.0, and I'm now testing 1.22.1. On 1.22.1 please run this script for EUR/USD and look at 06-01 when Longs and a Short are entered. I'm seeing opens shown on the same Bar as in the log, except for Short Entry Limit - those trades are being shown opening on the next Bar. Unless the trade is opened via the tmf - in that case it's on the same Bar as in the log.

Code:
int tmf(var Price) {
	return 0;
}

// helper function for finding trades at a grid line
bool findTrade(var Price,var Grid,bool IsShort) {
  for(open_trades)
    if((TradeIsShort == IsShort)
      and between(TradeEntryLimit,Price-Grid/2,Price+Grid/2))
        return true;
  return false;
}
  
function run() {
	set(LOGFILE);
	set(PLOTNOW);
//	set(TICKS);
  BarPeriod = 1440;
  StartDate	= 20140101;
	EndDate	= 20140114;
  Hedge = 2; 
  EntryTime = 50;
	Trail			= 1000*PIP;
	TrailLock	= 90;
  var Price;
  var Grid = 10*PIP; // grid spacing
  var Current = priceClose();
// place pending trades at 5 grid lines  
// above and below the current price
	if (Bar>=LookBack) {
  for(Price = Current-5*Grid; Price <= Current+5*Grid; Price += Grid) {
    if(Price <= Current and !findTrade(Price,Grid,true)) {
    	Stop = 10000*PIP;
//		enterLong(tmf,-Price);
		enterLong(0,Price);
      }
    else if(Price > Current and !findTrade(Price,Grid,false)) {
    	Stop = 100*PIP;
//		enterShort(tmf,-Price);
		enterShort(0,-Price);
      }
	}
  }
}



Re: Zorro 1.22 released! [Re: DdlV] #440205
04/20/14 09:35
04/20/14 09:35
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Hi JCL,

do you think that it makes sense to change to 1.22 considering Z12 (and its recent DD) ? If you advice me to change I guess I let the Z12 trades stay open as stated in the manual.

Thanks in advance
Sundance

Re: Zorro 1.22 released! [Re: Sundance] #440237
04/21/14 07:44
04/21/14 07:44
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, change to the new version.

Re: Zorro 1.22 released! [Re: jcl] #440242
04/21/14 08:22
04/21/14 08:22
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Thanks jcl. Did it and watching things go...

Re: Zorro 1.22 released! [Re: Sundance] #440247
04/21/14 12:42
04/21/14 12:42
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. Are you saying that 1.22.2 is out of public beta/testing and ready to be our Production version now?

Thanks.

Re: Zorro 1.22 released! [Re: DdlV] #440309
04/23/14 12:21
04/23/14 12:21
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, 1.22.2 is the release version.

Re: Zorro 1.22 released! [Re: jcl] #440392
04/24/14 22:11
04/24/14 22:11
Joined: Sep 2013
Posts: 73
M
Mangal Offline
Junior Member
Mangal  Offline
Junior Member
M

Joined: Sep 2013
Posts: 73
For those who are running Z5 your advise is to let the open trades close and then start to operate with this new version. In my case there are 11 trades open: 7 in the middle range of the chart and 2 on the upper side (like brekaout strategy) and 2 more on the down side. I understand that setting the margin to 0 disalows any new trades.

Common sense says that the 7 open trades in the middle of the chart they will be closed at some time, but the 2 uper or the 2 down, it may take some time for them to get close.

If we want to start runnig the new version 1.22 after closing the 7 open trades, is it possible to leave running simultaneously the old version meanwhile closes the 4 remaining trades? If so, is it possible to do it in the same VPS or a new VPS should be taken?

I have the S version of Zorro.


Last edited by Mangal; 04/24/14 22:15.
Re: Zorro 1.22 released! [Re: Mangal] #440393
04/24/14 22:30
04/24/14 22:30
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
I have exactly this configuration running in one VE, 1.20 S with the old Z5 and margin=0, and the 1.22 S with the new Z5 on one account.
BTW for FXCM-User: I've learned that you must first apply for a Multisession-Login with a form, otherwise you cannot login with 2 Zorro instances to one account.

Re: Zorro 1.22 released! [Re: Sphin] #440419
04/25/14 11:55
04/25/14 11:55
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Install the new Zorro in a different folder on the VPS, and indeed, make sure that your broker account allows multiple sessions. You can then run both Zorros in parallel as long as you want. Closing trades can take several months with Z5.

Page 2 of 3 1 2 3

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1