|
time for trade |
monexx
|
Post subject: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 09:11
|
|
User rating: 0
Joined: Tue 27 Nov, 2012, 11:50 Posts: 19 Location: SlovakiaSlovakia
|
Dear support, please, show me how to create by Visual JForex time to trade? For example, every day 8:00 to 17:00?
|
|
|
|
 |
91franc
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 09:50
|
|
User rating: 0
Joined: Wed 21 Sep, 2011, 04:12 Posts: 8 Location: Singapore, SG
|
i so x to make one for myself
|
|
|
|
 |
Visual Support
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 10:06
|
|
Visual JForex expert at Dukascopy |  |
User rating: 4
Joined: Fri 06 Feb, 2009, 16:34 Posts: 130
|
Here the example, see attachment. The idea to use the "TimeUnit", see description of the block for more details. The attached strategy checks on each tick event the needed Instrument, than gets from Tick Time - Hour and save it to "hour" variable. In TimeUnit' "Settings" we select the "Hour" parameter. Than in two blocks of "IF" we check the hour range, if all is ok, we always create Buy Position. 
Attachments: |
TimeDateFilter.vfs [24.19 KiB]
Downloaded 712 times
|
TimeUnitExample.JPG [85.47 KiB]
Downloaded 1730 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.
|
|
|
|
|
 |
monexx
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 11:27
|
|
User rating: 0
Joined: Tue 27 Nov, 2012, 11:50 Posts: 19 Location: SlovakiaSlovakia
|
Thank you for reply.
And if you need to identify individual days for trade please? For example: Monday, Tuesday and Friday?
|
|
|
|
 |
Visual Support
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 11:57
|
|
Visual JForex expert at Dukascopy |  |
User rating: 4
Joined: Fri 06 Feb, 2009, 16:34 Posts: 130
|
monexx wrote: Thank you for reply.
And if you need to identify individual days for trade please? For example: Monday, Tuesday and Friday? You can do it, just specify TimeUnit' "Setting" for Day, Month, seconds and so on. Please, read TimeUnit description. 
|
|
|
|
 |
monexx
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Thu 18 Apr, 2013, 14:43
|
|
User rating: 0
Joined: Tue 27 Nov, 2012, 11:50 Posts: 19 Location: SlovakiaSlovakia
|
|
|
|
 |
alexandreb
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 14:27
|
|
User rating: 0
Joined: Tue 14 Feb, 2012, 15:54 Posts: 10 Location: FranceFrance
|
It's great . I started to write strategies , but it's not clear how to get the .java code ? I tried to export my new strategy to contest , but I can't find it in the strategy list , please help !
|
|
|
|
 |
Visual Support
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Fri 19 Apr, 2013, 14:46
|
|
Visual JForex expert at Dukascopy |  |
User rating: 4
Joined: Fri 06 Feb, 2009, 16:34 Posts: 130
|
alexandreb wrote: It's great . I started to write strategies , but it's not clear how to get the .java code ? I tried to export my new strategy to contest , but I can't find it in the strategy list , please help ! Check this link: viewtopic.php?f=139&t=49089
|
|
|
|
 |
stunczy
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Tue 17 Sep, 2013, 08:52
|
|
User rating: 0
Joined: Tue 28 May, 2013, 16:00 Posts: 37 Location: Hungary, Győr
|
How can i set 8hour-17hour interval not trade? this time interval is false and not trade. And days for example 2013.05.05. 14:00 - 2013.05.06 15:00 this interval is false and not trade Thanks!
|
|
|
|
 |
dirk_r1
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Wed 18 Sep, 2013, 12:25
|
|
Visual JForex expert at Dukascopy |  |
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
|
|
|
|
 |
stunczy
|
Post subject: Re: time for trade |
Post rating: 0
|
Posted: Wed 18 Sep, 2013, 15:03
|
|
User rating: 0
Joined: Tue 28 May, 2013, 16:00 Posts: 37 Location: Hungary, Győr
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|