Dukascopy
 
 
Wiki JStore Search Login

Strategy not working right
 Post subject: Strategy not working right Post rating: 0   New post Posted: Fri 07 Feb, 2014, 13:58 
User avatar

User rating: 2
Joined: Mon 10 Dec, 2012, 22:04
Posts: 19
Location: India, Baroda
To Forum Support,

I have created a simple strategy based on DMI indicator in Visual Jforex but it doesn't take the trades the way I want it to. Here are the following conditions according to which I designed the strategy.

1) As soon as the value of DI+ exceeds that of DI-, there should be buying of lot size xyz and the ongoing sell trade should close. As soon as the value of DI- exceeds that of DI+, there should be selling of lot size abc and the ongoing buy trade should close.

2) If a buy trade closes, a sell trade should open and vice-versa at the same time. This means that there should be only one trade, i.e. either only buy trade or only sell trade, open at any point of time as per the strategy.

But the strategy that I created takes an unusually large no. of trades simultaneously.

Please help me figure out what is wrong with the strategy.

Regards,

B_Positive.


Attachments:
NewStrategy1.vfs [23.94 KiB]
Downloaded 105 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 not working right Post rating: 0   New post Posted: Fri 07 Feb, 2014, 14:13 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
Quote:
But the strategy that I created takes an unusually large no. of trades simultaneously.


You are checking the condition on every tick!


 
 Post subject: Re: Strategy not working right Post rating: 0   New post Posted: Fri 28 Feb, 2014, 17:49 
Visual JForex expert at Dukascopy
User avatar

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

I hope this will help as well:


Attachments:
NewStrategy1_mod.vfs [25.62 KiB]
Downloaded 101 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