Facility to trade at different times for multiples
  #1 (permalink)  
Old 06-14-2005, 01:47 AM
Rastarr's Avatar
Senior
 
Join Date: Mar 2005
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Rastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of light
Send a message via ICQ to Rastarr Send a message via AIM to Rastarr Send a message via Yahoo to Rastarr
Default Facility to trade at different times for multiples

Scorpion,

I know a number of the sample ZeroCode experts I've played with recently are having trouble executing trades. It would appear given they are time based experts i.e. they attempt to execute at the same time on multiple currencies and I think there is an issue with this. That is to say, the server will not allow multiple executed trades at the same time and requires a sleep time between them. I think this is something like 5 minutes.

Would you have an advice on how this could be incorporated into ZeroCode ?

At this stage, I've manually put in some clumsy code staggering the execution based on the currency such as :-

if SYMBOL = "EURUSD" then (entryMin = 0;};
if Symbol = "USDCHF" then (entryMin = 4;};
if Symbol = "GBPUSD" then (entryMin = 8;};

/// etc etc etc

IsBuying = (period == 1440)
and (hour == 4)
and (open > pricebid)
and (Minute == 30+entryMin);

Cheers
Martin
Reply With Quote
  #2 (permalink)  
Old 06-14-2005, 07:05 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Maybe I don't understand your statement, but I think if you enable the expert in only EURUSD chart, then expert can execute only EURUSD. In fact, one account can run only one expert in one chart at a time. Btw, do you run it in multiple charts?
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #3 (permalink)  
Old 06-14-2005, 07:17 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Oh, now I got your point. Actually, metatrader is capable of executing multiple currencies at the same time in one account. I remember, somebody suggested I take a look at TotalTrades thing to allow the expert executes multiple currencies.

Ok, this issue should be fixed in next release.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #4 (permalink)  
Old 06-14-2005, 07:18 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Rastarr, can you point me to a mql that able to execute multiple currencies? I'll take a look at it.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #5 (permalink)  
Old 06-15-2005, 03:16 AM
Rastarr's Avatar
Senior
 
Join Date: Mar 2005
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Rastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of lightRastarr is a glorious beacon of light
Send a message via ICQ to Rastarr Send a message via AIM to Rastarr Send a message via Yahoo to Rastarr
Default

Scorpion,

I don't have such an mql file unfortunately.


I'm more concerned that there is mention in the MetQuotes forums that the server requires a delay period of 5 seconds between trade orders so running the same expert of multiple currencies may well cause an issue.

Food for thought.
Martin
Reply With Quote
  #6 (permalink)  
Old 06-15-2005, 07:15 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Yes, by metaquotes' rule there must be at lease 5 seconds between each trade.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Super Ea AQUILEZ Trading Systems 126 05-02-2008 12:35 AM
Crazy system to trade gbp paco246y8 System Coding 0 09-18-2006 03:45 PM
All Dog Owners Trade Forex! scorpion Chit Chat 2 09-02-2006 12:46 AM
Adding reversal after trade goes past stoch50 TurboTrader24 MetaTrader and ZeroCode 12 08-05-2005 06:59 AM


All times are GMT. The time now is 04:55 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now