Dukascopy
 
 
Wiki JStore Search Login

Open position manually
 Post subject: Open position manually Post rating: 0   New post Posted: Wed 11 Nov, 2015, 11:40 
User avatar

User rating: 0
Joined: Thu 18 Sep, 2014, 18:17
Posts: 7
Location: Brazil, Fortaleza
I have an open position manually. I activated my strategy in JForex platform.

When the candle of the default period is closed, the platform stops execution of the strategy.

I want my strategy is executed with an already open position manually. How do I solve this problem?


 
 Post subject: Re: Open position manually Post rating: 0   New post Posted: Wed 11 Nov, 2015, 15:18 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

This is indeed possible but if your strategy implements a command to close the position then it will obviously execute this command. There is a solution that can be done depending on you strategy conditions, this can be for example to identify positions to be closed by a comment. The strategy will then close only positions having this identifier
Check the attached example


Attachments:
Example.vfs [28.6 KiB]
Downloaded 169 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Open position manually Post rating: 0   New post Posted: Wed 11 Nov, 2015, 17:08 
User avatar

User rating: 0
Joined: Thu 18 Sep, 2014, 18:17
Posts: 7
Location: Brazil, Fortaleza
Amine,

I think my English is horrible.

I have an open position manually.

When I put the strategy in place run in JForex platform, the strategy is in "stopped" status.

It has nothing to do with closing open position. The strategy stops working because it already has an open position.

Em português:

Amine,

Eu acho que meu inglês está horrível.

Eu tenho uma posição aberta manualmente.

Quando coloco a estratégia em local run na plataforma JForex, a estratégia fica em estado "stopped".

Não tem nada a ver com fechar posição aberta. A estratégia para de funcionar porque já tem uma posição aberta.


 
 Post subject: Re: Open position manually Post rating: 0   New post Posted: Wed 11 Nov, 2015, 20:44 
User avatar

User rating: 0
Joined: Thu 18 Sep, 2014, 18:17
Posts: 7
Location: Brazil, Fortaleza
The solution was simple:

In JForex platform tab: tools / preferences / advanced / advanced settings / Stop strategies on exception.


 
 Post subject: Re: Open position manually Post rating: 0   New post Posted: Thu 12 Nov, 2015, 09:09 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Alright,
Maybe I can have a look to the strategy file...
Cheers


 

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