Dukascopy
 
 
Wiki JStore Search Login

why no position is opened ?
 Post subject: why no position is opened ? Post rating: 0   Post Posted: Fri 18 Dec, 2015, 19:46 

User rating: 0
Joined: Sun 15 Mar, 2015, 20:15
Posts: 77
Location: Czech RepublicCzech Republic
Dears,

I am apparently missing something. Please see the attached two-block-example.

Thanks for clarification.

Antony


Attachments:
whyNoPositionOpened.vfs [21.97 KiB]
Downloaded 179 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: why no position is opened ? Post rating: 0   Post Posted: Mon 04 Jan, 2016, 16:37 

User rating: 0
Joined: Sun 15 Mar, 2015, 20:15
Posts: 77
Location: Czech RepublicCzech Republic
Dears,

please any progress?

Appreciate,
Antony


 
 Post subject: Re: why no position is opened ? Post rating: 0   Post Posted: Thu 07 Jan, 2016, 16:18 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

It happens because strategy checks wrong variable amount. Please check file attached.

Best regards, Support Team.


Attachments:
whyNoPositionOpened_v2.vfs [23.9 KiB]
Downloaded 117 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: why no position is opened ? Post rating: 0   Post Posted: Thu 07 Jan, 2016, 16:31 

User rating: 0
Joined: Sun 15 Mar, 2015, 20:15
Posts: 77
Location: Czech RepublicCzech Republic
Hi Vadim,

thanks for your idea, but it does not solved the trouble, because unlimited amount of positions are opened.
I need that only one position is going to be opened.

Do you know how to fix that please?

Appreciate,
Antony


 
 Post subject: Re: why no position is opened ? Post rating: 0   Post Posted: Wed 20 Jan, 2016, 15:28 
Visual JForex expert at Dukascopy
User avatar

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

When you say:
Quote:
I need that only one position is going to be opened.

there is some information missing: Will you need a single open position per trading session (every time you start the strategy?) OR every candle period (then what period would you wish to use) OR per price ??
The example sent above by Vadim is showing you the way to trade one single position at a time: that means that the strategy will only open a position IF the previous one is closed.

Here is another example showing how to trade a unique position. The strategy will trade again if you restart it otherwise once this position is closed, nothing will happen anymore.

Cheers


Attachments:
whyNoPositionOpened_v3.vfs [25.4 KiB]
Downloaded 112 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.
 

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