Quite right WHRoeder, I was guilty of a quick reply without giving too much thought to the rest of the code.
As GumRai wrote, you don't "select" a pair before using OrderSend... There is no need to use SymbolSelect()
Or if you want to use a variable:
To add comments, please log in or register