Basket EA coding question

Post Reply
Spectre
Trader
Posts: 39
Joined: Mon Nov 05, 2012 6:18 am
Location: Norway, the most taxed place on earth(maybe)

Basket EA coding question

Post by Spectre »

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.
" I'm not an alcoholic, i'm australian " - Lance
garyfritz

Re: Basket EA coding question

Post by garyfritz »

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
Post Reply

Return to “Coders Hangout”