Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

setStopLossPrice() - if moved above setTakeProfitPrice()?
 Post subject: setStopLossPrice() - if moved above setTakeProfitPrice()? Post rating: 0   New post Posted: Fri 25 Feb, 2011, 14:45 

User rating: 0
Joined: Sat 01 Jan, 2011, 11:29
Posts: 6
For an open LONG position - If setStopLossPrice is moved above a current setTakeProfitPrice will the takeProfitPrice be cancelled?


 
 Post subject: Re: setStopLossPrice() - if moved above setTakeProfitPrice() Post rating: 0   New post Posted: Fri 25 Feb, 2011, 15:03 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
If you set stop loss above the take profit and the market price, then stop loss will be triggered and position will be closed.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com