|
OpenTradeEx
I want to use TradeDeskAut.OpenTradeEx to open a market trade and set the stop loss as distance in pips.
wcsInstrument is GBP/JPY
dStopPips = 50
m_oTrDesk.OpenTradeEx(wcsAccountID, wcsInstrument, true, iLotsNo, 0, wcsQuoteID, 0, m_oTrDesk.SL_PEGGEDSTOP, -1 * dStopPips, 0, 0, out psOrderId, out psDI);
dStopPips is the distance in pips.
An trade was created, but the stop loss was not be set.
To FXCM:Would you please tell us how to use OpenTradeEx method? Thanks.
Last edited by cmctrader; 05-25-2009 at 12:22 AM..
|