Dukascopy
 
 
Wiki JStore Search Login

The "Positions" does not count the manually opened ones?
 Post subject: The "Positions" does not count the manually opened ones? Post rating: 0   New post Posted: Wed 29 May, 2013, 19:59 

User rating: 0
Joined: Tue 28 May, 2013, 14:54
Posts: 8
Location: SwedenSweden
I want the strategy to open a sell position once the last position is closed (or the "Position amount" equals 0). However when I manually opened one position, before this position is closed the sell position is already automatically opened. Attached is the blocks.

Possible to fix this?
Image


Attachments:
File comment: the blocks for open a sell position once the last position is closed (thus when the position amount equals 0)
untitled.JPG [70.37 KiB]
Downloaded 394 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: The "Positions" does not count the manually opened ones? Post rating: 0   New post Posted: Fri 31 May, 2013, 00:31 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hello Chxaoao,

The problem is you are using TRADE EVENT start point, change it to ONTICK or ONBAR and that will work. The only thing is that anytime there is no trades open , it will open a sell order. THis means you are going to have a LOT of trades open!

Cheers,

DoCZero


 
 Post subject: Re: The "Positions" does not count the manually opened ones? Post rating: 0   New post Posted: Fri 31 May, 2013, 13:43 
Visual JForex expert at Dukascopy
User avatar

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

For rational use of computer resources it is better to use simpler functions.
So TradeEvent is the best here.
Image
Just choose correct Event.


Attachments:
Untitled1.png [108.92 KiB]
Downloaded 418 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