
05-20-2007, 05:43 PM
|
 |
Senior Member
|
|
Join Date: Apr 2006
Location: USA
Posts: 439
|
|
Quote:
|
Originally Posted by wolfe
I thought you also had to use the market info function, I know this works:
extern string paircharta="EURUSD";//whatever symbol you want
tradeticketa = OrderSend(paircharta,OP_BUY,lotsize,MarketInfo(pai rcharta,MODE_ASK),slippage,MarketInfo(paircharta,M ODE_ASK)-stoploss*MarketInfo(paircharta,MODE_POINT),MarketI nfo(paircharta,MODE_ASK)+takeprofit*MarketInfo(pai rcharta,MODE_POINT),"orderstart",magica,0,Blue);
|
Well, that is the complicated way to do it. 
|