Dukascopy
 
 
Wiki JStore Search Login

how do you use indicator as a test and a entry condition
 Post subject: how do you use indicator as a test and a entry condition Post rating: 0   New post Posted: Fri 24 Oct, 2014, 17:48 

User rating: 0
Joined: Fri 24 Oct, 2014, 17:33
Posts: 3
Location: Australia,
Hello,

My question is how do you build the blocks in VJF to use Stochastic as a initial test then a subsequent entry.

Entry Long = %k >= 80
retrace <80
then enter when %k go back up >=80

Entry Short = %K <=20
retrace >20
Then enter when %k go back down <=20

Attached is my attempt at this but it doesn't work. Please help!


Attachments:
indicator-test-help.vfs [28.63 KiB]
Downloaded 86 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: how do you use indicator as a test and a entry condition Post rating: 0   New post Posted: Mon 27 Oct, 2014, 12:29 
Visual JForex expert at Dukascopy
User avatar

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

Attached an example of what you described in your previous post but there is a major details that you should consider: There is no limitation in time when the STOCH indicator reproduce the conditions that you described which means that the strategy will wait as long as needed so that the shape that you can see below is drawn.
Image


Hope this helps


Attachments:
indicator-test-help_1.vfs [32.57 KiB]
Downloaded 106 times
example4.JPG [48.31 KiB]
Downloaded 343 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: how do you use indicator as a test and a entry condition Post rating: 0   New post Posted: Mon 27 Oct, 2014, 12:57 

User rating: 0
Joined: Fri 24 Oct, 2014, 17:33
Posts: 3
Location: Australia,
Thank you for the response!

Yes you are right in regards to the time limitation but in the example and the image you provided me with, does the system generate another buy signal when the stoch reaches >=80 again?

The sequence i am looking for is stoch >= 80 (Test) -> then enter on the next time it goes above 80 then test again then enter etc etc.

Does the attached file work in that manner or will it keep going long each time now since stoch >=80 has now been reached??

Thanks


 
 Post subject: Re: how do you use indicator as a test and a entry condition Post rating: 0   New post Posted: Mon 27 Oct, 2014, 13:43 
Visual JForex expert at Dukascopy
User avatar

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

The reset is made after a given position is filled and all conditions are reset to their initial status waiting for a new figure to be drawn:

Image

You can check this when you test the strategy and add the STOCH indicator to the chart.


Attachments:
Example5.JPG [186.4 KiB]
Downloaded 337 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: how do you use indicator as a test and a entry condition Post rating: 0   New post Posted: Mon 27 Oct, 2014, 14:47 

User rating: 0
Joined: Fri 24 Oct, 2014, 17:33
Posts: 3
Location: Australia,
I see the reset blocks right after the market order block. It makes perfect sense.

Thank you for the help


 

Jump to:  

  © 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