Go Back   DailyFX Forum

Thread: OpenTradeEx
View Single Post
  #1 (permalink)  
Old 05-24-2009, 11:53 PM
cmctrader cmctrader is offline
Member
 
Join Date: Dec 2007
Posts: 85
cmctrader is on a distinguished road
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..
Reply With Quote
 


Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 09:45 PM.
Copyright ©2009 Daily FX. All Rights Reserved.