|
One position per signal |
_hunter_
|
Post subject: One position per signal |
Post rating: 0
|
Posted: Wed 23 Oct, 2013, 16:46
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Hi guys, Can someone show me, how to create just one position per one signal? Below an example of the strategy. 
Attachments: |
example.vfs [36.63 KiB]
Downloaded 283 times
|
example.png [111.17 KiB]
Downloaded 685 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.
|
|
|
|
|
 |
dirk_r1
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Wed 23 Oct, 2013, 17:28
|
|
Visual JForex expert at Dukascopy |  |
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
|
Greetings!
I am afraid I do not understand you correctly.
Do you mean by "signal" on candle?
Please bear mind that when you are calculating onTick the "signal" is equal to the tick.
So please specify.
Cheers!
|
|
|
|
 |
_hunter_
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Wed 23 Oct, 2013, 19:04
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Thanks for reply dirk_r1.Writing a "signal", I mean the time at which the current ema> preavious ema and Laguerre = 0 for BUY in this example. I hope that now it is more clearly explained on the screen. Cheers! 
Attachments: |
example2.png [121.45 KiB]
Downloaded 686 times
|
example2.png [120.9 KiB]
Downloaded 442 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.
|
|
|
|
|
 |
vadim_berezhnoj
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Thu 24 Oct, 2013, 08:50
|
|
Visual JForex expert at Dukascopy |  |
User rating: ∞
Joined: Mon 22 Apr, 2013, 11:30 Posts: 604 Location: UkraineUkraine
|
Greetings.
Try to use onCandle start point.
|
|
|
|
 |
_hunter_
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Thu 24 Oct, 2013, 13:16
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Hi Vadim, With candle start point is the same situation. Is it possible to take a break after each open position, for example, two hours?
|
|
|
|
 |
dirk_r1
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Fri 25 Oct, 2013, 11:34
|
|
Visual JForex expert at Dukascopy |  |
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
|
Greetings! I strongly doubt that when using onCandle start point would be the same like tick start point! Please make sure that you add these filters in order to trade each candle:  Also please make sure that when testing the strategy in historical tester select your default period on the chart which that you have chosen before when start running the strategy.
Attachments: |
onCandle_TF.png [90.46 KiB]
Downloaded 721 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.
|
|
|
|
|
 |
_hunter_
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Fri 25 Oct, 2013, 14:08
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Hi dirk_r1, Ok, maybe they are not the same but still there are a few positions opened on the same signal. Look at the screen and code. 
Attachments: |
example2.vfs [36.76 KiB]
Downloaded 251 times
|
example3.png [100.58 KiB]
Downloaded 730 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.
|
|
|
|
|
 |
dirk_r1
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Mon 28 Oct, 2013, 09:40
|
|
Visual JForex expert at Dukascopy |  |
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
|
Greetings! I tested the strategy on last week with your default settings - i did not found any errors Please make sure that you have always the correct timeframe showing in historical tester  Or maybe I do not get your question/complain?
Attachments: |
variables_test.png [63.01 KiB]
Downloaded 671 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.
|
|
|
|
|
 |
_hunter_
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Mon 28 Oct, 2013, 14:16
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Hi dirk_r1, When testing last week, actually there is no errors but testing throughout September there are several positions on the same signal. Look at the screen, example2 with default settings. The TF on historical tester is always 1H. Any suggestions? 
Attachments: |
ex3.png [107.32 KiB]
Downloaded 673 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.
|
|
|
|
|
 |
dirk_r1
|
 |
Post subject: Re: One position per signal |
Post rating: 2
|
Posted: Mon 28 Oct, 2013, 16:09
|
|
Visual JForex expert at Dukascopy |  |
User rating: 27
Joined: Fri 03 May, 2013, 18:25 Posts: 366 Location: GermanyGermany
|
Well I think now I know what you want  Because there is no bug and the strategy works like it should - but I believe that you just want ONE trade on ONE signal - if the signal is after the close still the same then do not trade, right? (Sorry, if I misunderstood that!) It would be one way how to do it: Let me know if it is what you wanted. Cheers! PS: You can also do it with a counter: after x-candles wait for new buy or sell signal.
Attachments: |
example2_s.vfs [39.77 KiB]
Downloaded 315 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.
|
|
|
|
|
 |
_hunter_
|
Post subject: Re: One position per signal |
Post rating: 0
|
Posted: Mon 28 Oct, 2013, 17:49
|
|
User rating: 0
Joined: Wed 01 May, 2013, 09:18 Posts: 25 Location: Poland, Tuskownia
|
Thanks very much dirk_r1. This is exactly what I wanted to achieve. Cheers!
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|