Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-20-2007, 09:02 PM
seawolf's Avatar
Junior Member
 
Join Date: Jul 2007
Posts: 3
seawolf is on a distinguished road
Question Code Help-- Can't Trade multiple pairs

I'm having problems/issues controlling the number of trades I am able to place simultaneously. I have figured out how to limit the open trades (per pair), but my EA is not opening trades in multiple currency pairs that I have attached the EA to.

I have 3-5 charts open w/ EA attached to each chart. The trade signals that I am using clearly call for a trade on each chart (using a trend following strategy). I have tried playing with the OrderSend code as well as the FOR loop and OrderSelect code. My structure is simple at this point and I am using what seems to be "standard" arguments (I've been checking out how the more experienced coders form it).

I imagine the solution is very basic and that I'm missing something... Can anyone please give me guidance, or point me in the right direction, on this?

Thanks So Much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 10:38 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,077
omelette is on a distinguished road
Quote:
Originally Posted by seawolf View Post
I'm having problems/issues controlling the number of trades I am able to place simultaneously. I have figured out how to limit the open trades (per pair), but my EA is not opening trades in multiple currency pairs that I have attached the EA to.

I have 3-5 charts open w/ EA attached to each chart. The trade signals that I am using clearly call for a trade on each chart (using a trend following strategy). I have tried playing with the OrderSend code as well as the FOR loop and OrderSelect code. My structure is simple at this point and I am using what seems to be "standard" arguments (I've been checking out how the more experienced coders form it).

I imagine the solution is very basic and that I'm missing something... Can anyone please give me guidance, or point me in the right direction, on this?

Thanks So Much
Two things. Make sure the symbols you are trading are visible in the 'Market Watch' window - right-click on any symbol there and select 'Show all'. In case you don't realise it, there is no need to open multiple charts to trade multiple currencies. You can use 'MarketInfo' to get price info on all available symbols.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-4/9734-code-help-cant-trade-multiple-pairs.html
Posted By For Type Date
Code Help– Can't Trade multiple pairs | Forex Advisor This thread Pingback 09-20-2007 10:14 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple pairs in strategytester? Flirrrt Metatrader 4 1 06-02-2007 02:59 AM
Derived Currency Strength Indicator from multiple pairs jswanson Metatrader 4 0 05-10-2007 08:40 PM
What are best medium volatility ranging pairs to trade? shibeng Expert Advisors - Metatrader 4 4 01-30-2007 05:57 AM
Trade muliple currency Pairs rbowles Metatrader 4 5 08-13-2006 05:51 AM


All times are GMT. The time now is 07:02 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.