Dukascopy
 
 
Wiki JStore Search Login

Loop Viewer - three last candles
 Post subject: Loop Viewer - three last candles Post rating: 0   New post Posted: Sun 23 Feb, 2014, 17:56 
User avatar

User rating: 0
Joined: Sat 20 Oct, 2012, 12:23
Posts: 9
Location: Czech Republic, Ostrava
Hello,

i have a question regarding strategy including loop viewer that does not work properly.

I want to create strategy that compare last three candles - generally the strategy has to compare three previous candles and if all the candles have higher highs and higher lows (uptrend), it is required to put a pending order on the highest high of the last candle (the last one preceded by two other candles with higher higs and lows).

I am trying to use loop viewer as well as historical candles block but the strategy does not work at all. Could you tell me what is wrong?

i have attached print screen of vjforex and .vfs file.

Can you help pls?

Image

Thank you


Attachments:
Strategy.vfs [34.16 KiB]
Downloaded 145 times
Strategy.jpg [115.3 KiB]
Downloaded 256 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: Loop Viewer - three last candles Post rating: 0   New post Posted: Fri 28 Feb, 2014, 09:13 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Greetings!

Everything was setup fine beside that you have to use the index(es) of the array (Loop Viewer).

Please see strategy attached.


Attachments:
Strategy_mod.vfs [36.7 KiB]
Downloaded 132 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: Loop Viewer - three last candles Post rating: 0   New post Posted: Sun 02 Mar, 2014, 09:26 
User avatar

User rating: 0
Joined: Sat 20 Oct, 2012, 12:23
Posts: 9
Location: Czech Republic, Ostrava
Thank you for help :)


 
 Post subject: Re: Loop Viewer - three last candles Post rating: 0   New post Posted: Sun 02 Mar, 2014, 19:35 
User avatar

User rating: 0
Joined: Sat 20 Oct, 2012, 12:23
Posts: 9
Location: Czech Republic, Ostrava
ehm i have encountered another issue, however on the forum has already been something similar discussed...

dont you pls know how to set set the rule... after the pending open order is placed and the order is not filled in some minutes or on the next following candles, the pending open is closed automatically? basically the pendings should close themselves in case the price does not reach the "open" within certain amount of time, i just want to prevent that the strategy have many unfilled pendings..

i tried to use position viewer blocks along with calculations but with no required results and have no clue what is wrong.. :s



Image


Attachments:
test.jpg [120.68 KiB]
Downloaded 522 times
test.vfs [33.74 KiB]
Downloaded 145 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: Loop Viewer - three last candles Post rating: 0   New post Posted: Mon 03 Mar, 2014, 12:32 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Greetings!

I have made couple of changes in your strategy and added some notes.

The Good Till Time function will work (hopefully) in the next version of VJF.


Attachments:
test_mod.vfs [47.45 KiB]
Downloaded 183 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: Loop Viewer - three last candles Post rating: 0   New post Posted: Mon 03 Mar, 2014, 21:31 
User avatar

User rating: 0
Joined: Sat 20 Oct, 2012, 12:23
Posts: 9
Location: Czech Republic, Ostrava
yes it is working now, thank you ^^

i hope that in the next version of VJforex the good till time will work


 
 Post subject: Re: Loop Viewer - three last candles Post rating: 0   New post Posted: Fri 14 Mar, 2014, 09:31 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
I am looking forward to it as well ^.^

Cheers


 

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