Dukascopy
 
 
Wiki JStore Search Login

Close trades on Friday midnight - doesn't work
 Post subject: Close trades on Friday midnight - doesn't work Post rating: 0   New post Posted: Mon 15 Aug, 2016, 14:54 

User rating: 0
Joined: Wed 18 Nov, 2015, 15:22
Posts: 19
Location: SlovakiaSlovakia
Hi,

Trying to get my open positions to close on Friday 23:58 (tried 5th and 6th of the week depending on diff countries) however non of them work.

Could you please look at the strategy run a it and see where the problem is?

Thank you.


Attachments:
Dont_trade_friday.vfs [59.77 KiB]
Downloaded 130 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: Close trades on Friday midnight - doesn't work Post rating: 0   New post Posted: Mon 29 Aug, 2016, 17:49 
Visual JForex expert at Dukascopy
User avatar

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

The use of OnCandle start point is not necessarily wrong. The strategy could work based on this method and it's even better in terms of performance and memory load.
Check the attached version where an additional condition is added to do a verification of the time stamp every minute.
Please test and let us know

cheers !


Attachments:
Dont_trade_friday_V2.vfs [61.26 KiB]
Downloaded 164 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: Close trades on Friday midnight - doesn't work Post rating: 0   New post Posted: Sun 04 Dec, 2016, 02:53 

User rating: 0
Joined: Wed 18 Nov, 2015, 15:22
Posts: 19
Location: SlovakiaSlovakia
Thanks, for the fix.

One more question. Is there any way to implement the strategy to close 30 minutes before the NFP (non-farming payroll) news release?

Idea - close all trades on the 1st friday of each month?

Thanks


 
 Post subject: Re: Close trades on Friday midnight - doesn't work Post rating: 0   New post Posted: Mon 05 Dec, 2016, 16:48 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Yeah this is feasible, take a look at :
https://www.dukascopy.com/swiss/english ... .php?f=197

you may find similar examples there ...


 

Jump to:  

  © 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