stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Basket EA coding question
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1566
Page 1 of 1
Author:  Spectre [ Mon Mar 04, 2013 2:10 am ]
Post subject:  Basket EA coding question

hello coders of hopwoodland

i have a question, how do i code a basket ea to trade multiple pairs at once? i have tried many things but it has not worked at all. right now i have resorted to using multiple instances of OrderSend

there have got to be a easier way, OrderSend(symbol, . . . ) and having symbol being referenced as all the pairs to trade.

i cannot for the life of me manage to get that function to work. if somebody could point me in the right direction, maybe with coding examples that would have been great. i have never coded Basket before, i am probably making it harder than it is.
Author:  garyfritz [ Mon Mar 04, 2013 5:31 am ]
Post subject:  Re: Basket EA coding question

There are many examples of basket traders here on the forum. However be warned you will usually have to dig through 1000 or more lines of code with these EAs.

Baluda's MultiMac is one example: http://www.stevehopwoodforex.com/phpBB3 ... f=51&t=927
All times are UTC Page 1 of 1