View Single Post
Facility to trade at different times for multiples
  #1 (permalink)  
Old 06-14-2005, 02:47 AM
Rastarr's Avatar
Rastarr Rastarr is offline
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

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

Main Menu

Economic Forecast