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.

pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice
 Post subject: pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice Post rating: 0   New post Posted: Thu 24 Sep, 2009, 14:49 

User rating: 0
Joined: Wed 08 Jul, 2009, 00:42
Posts: 14
Will the above functions run in isolation of the strategy running on the local machine? Once set will they run on the server and operate on the tick price regardless.

For example. If I set them based on a daily bar, will they continue to run between each of my daily bars and trigger as soon as they are hit in real time?


 
 Post subject: Re: pSellOrder.setStopLossPrice & pSellOrder.setTakeProfitPrice Post rating: 0   New post Posted: Thu 24 Sep, 2009, 15:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
this is the same takeProfit and stopLoss that you can set in platform itself. They are passed to the server and tracked there. Once price hits them, they are executed on the server, whenever client platform running or not they are checked on every tick. Once the price reaches them, they are executed. They are set based on ticks always


 

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