Dukascopy
 
 
Wiki JStore Search Login

Strategy does not open positions
 Post subject: Strategy does not open positions Post rating: 0   New post Posted: Fri 06 Jun, 2014, 16:58 
User avatar

User rating: 0
Joined: Thu 24 Apr, 2014, 22:43
Posts: 1
Location: CanadaCanada
Hello,

I have constructed my own version of the webinar strategy “Visual JForex Webinar: building a scalping strategy” https://www.youtube.com/watch?v=g1NRREGzG5Q

However, when I test the strategy in both VJFX and JFX, no positions are ever opened (see attached .jpg). I have gone through the webinar many times and I have failed to locate my errors. :?

The strategy rules are:
- Pair: EUR/USD
- Time: European session only (from 7: 00 to 16: 00 GMT)
- Entry rules:
* Spread below 0.5 pips
* If 2 last one minute candles and the last 10 second candle are on the same direction, follow the trend
* Take profit: 5 times the spread
* Stop Loss: 10 times the spread
* Trailing step: one take profit in pips
* Amount: 2% of the equity
- Stop opening positions if the use of leverage goes above 30%
- Do not leave any position open over the weekend

If someone can look at the attached strategy and identify why it does not function, I would be grateful.

Regards,
RT

Image


Attachments:
strategy_not_functional.JPG [168.04 KiB]
Downloaded 335 times
scalp_algorithm13.vfs [61.13 KiB]
Downloaded 127 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: Strategy does not open positions Post rating: 0   New post Posted: Thu 19 Jun, 2014, 06:08 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
Hello

I am on it.

Expect a full answer in around 24 hours.

Sorry for the delay.


 
 Post subject: Re: Strategy does not open positions Post rating: 1   New post Posted: Thu 19 Jun, 2014, 13:04 
Visual JForex expert at Dukascopy
User avatar

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

I just went through the strategy and noticed that the issue is with the Long and Short counters that are reset to 0 whatever the condition is... So no trades..
You should get some trades if move the assign to 0 blocks from the start point and put them where you need the reset action to be done (Could be after the trading commands or elsewhere depending on the strategy spec)

Hope this helps


 
 Post subject: Re: Strategy does not open positions Post rating: 0   New post Posted: Mon 30 Jun, 2014, 12:55 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
Sorry for the long delay

Please find the amended strategy attached


Attachments:
scalp_algorithm_new.vfs [62.72 KiB]
Downloaded 140 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.
 

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