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.

Trailing SL
 Post subject: Trailing SL Post rating: 0   Post Posted: Thu 21 Mar, 2013, 18:59 
User avatar

User rating: 0
Joined: Thu 13 Oct, 2011, 17:27
Posts: 21
Location: SwitzerlandSwitzerland
hello,
regarding this topic
viewtopic.php?f=7&t=47245&p=64044&hilit=trailing#p64044

would you please help me to change this strategy a bit to use the account currency instead of instrument pips.
my account is in CHF and i would like the strategy to do do this:

SLone is e.g. 50 CHF
SLtwo is e.g. 10 CHF
a new opened order of any instrument will get the SLone assigned right away.
when the position reaches break even (incl. commission) + SLtwo (=trigger case) it will continue with SLtwo.

thank you very much


 
 Post subject: Re: Trailing SL Post rating: 0   Post Posted: Fri 22 Mar, 2013, 08:19 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Unfortunately we do not provide private programming support, but rather assist on API-related programming issues.
Please resort to External Programmers https://www.dukascopy.com/swiss/english/ ... /external/

For learning the Strategy API yourself, start there:
https://www.dukascopy.com/wiki/#Create_a_strategy
https://www.dukascopy.com/wiki/#Strategy_Tutorial
https://www.dukascopy.com/wiki/#Strategy_API


 
 Post subject: Re: Trailing SL Post rating: 0   Post Posted: Fri 22 Mar, 2013, 14:01 
User avatar

User rating: 0
Joined: Thu 13 Oct, 2011, 17:27
Posts: 21
Location: SwitzerlandSwitzerland
well i don't really see a big difference to the above mentioned example which could also be answered.

that was about pips and i am asking for account currency. but ok... never mind


 

Jump to:  

cron
  © 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