Dukascopy
 
 
Wiki JStore Search Login

manual start
 Post subject: manual start Post rating: 0   New post Posted: Tue 16 Dec, 2014, 09:38 

User rating: 0
Joined: Tue 09 Dec, 2014, 08:22
Posts: 2
Location: Saudi Arabia,
Hello , I am building a hedging strategy based on tradeevent, I just want to start it manually from the trading platform , any help


 
 Post subject: Re: manual start Post rating: 1   New post Posted: Tue 16 Dec, 2014, 11:29 
Visual JForex expert at Dukascopy
User avatar

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

Once the strategy is built in Visual Jforex, you can build it and export it as Java code then upload it into your Jforex trading platform.

More information in the attached document.


Attachments:
Visual Jforex UG.pdf [1.08 MiB]
Downloaded 198 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: manual start Post rating: 0   New post Posted: Tue 23 Dec, 2014, 10:18 

User rating: 0
Joined: Tue 09 Dec, 2014, 08:22
Posts: 2
Location: Saudi Arabia,
Dear Amine , how can I make IF statement says that if the duration between open time and close time for previous trade is a certain duration ( in seconds or minuets ) then an action will take place.


 
 Post subject: Re: manual start Post rating: 1   New post Posted: Wed 24 Dec, 2014, 10:09 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
Bashar wrote:
Dear Amine , how can I make IF statement says that if the duration between open time and close time for previous trade is a certain duration ( in seconds or minuets ) then an action will take place.

Hello
Here the example is attached.
First the strategy checks if any market position is created if not, the strategy open Buy.
Than on each tick it checks -- if difference between saved Buy position close time and creation time is bigger for 4 hours - if Yes, the strategy opens Sell market position. And allow to open Buy possition.


Attachments:
DemoExample4HoursTrade.vfs [33.06 KiB]
Downloaded 174 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-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