Dukascopy
 
 
Wiki JStore Search Login

Problem using Open Positions.Positions
 Post subject: Problem using Open Positions.Positions Post rating: 0   New post Posted: Tue 30 Jul, 2013, 18:24 
User avatar

User rating: 0
Joined: Tue 01 May, 2012, 06:37
Posts: 5
Location: Peru, Lima
Greetings, im having troubles using the block code Open Positions.Positions to place just one position everytime my signal is triggered Image, but looks like its not working, neither on vjf or in jforex Image it doesnt lock in just one position, instead it opens multiple positions, actually my code is using a default period of 1minute.
Image
Is there a better way to lock the strategy in just one position everytime? or am i missing something else?


 
 Post subject: Re: Problem using Open Positions.Positions Post rating: 0   New post Posted: Wed 31 Jul, 2013, 11:11 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
I can not recognize problem on picture. Please add strategy file.


 
 Post subject: Re: Problem using Open Positions.Positions Post rating: 0   New post Posted: Wed 31 Jul, 2013, 17:33 
User avatar

User rating: 0
Joined: Tue 01 May, 2012, 06:37
Posts: 5
Location: Peru, Lima
Its pretty simple, i just wanna open one position every time my signal is triggered, but neither using open positions value or a counter works to lock it.

Please take a look.


Attachments:
smaCrossOver.vfs [34.26 KiB]
Downloaded 304 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:  

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