Dukascopy
 
 
Wiki JStore Search Login

SMA with DMI
 Post subject: SMA with DMI Post rating: 0   New post Posted: Tue 21 May, 2013, 19:39 
User avatar

User rating: 0
Joined: Mon 20 May, 2013, 17:19
Posts: 10
Location: Australia, Sydney
Hi there, I have created a strategy using SMA crossover and DMI to time entries, I have used a SL but no TP.
The exit it set up so as to take place when the SMA's cross back over each other.

However, it does not work! Trades are entered correctly but they only ever exit once SL is reached, never when the SMA's cross back over - every trade is a loser.

I have studied a previous thread from this forum and even copied the setup for the EXIT but must have made some mistakes or had some misunderstandings somewhere along the line.

I have attached the file, if anybody could help out with this I'd really appreciate it.

Thanks


Attachments:
SMAcrossoverwithDMI.vfs [43.62 KiB]
Downloaded 298 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: SMA with DMI Post rating: 0   New post Posted: Wed 22 May, 2013, 08:50 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
It happens because strategy calculates SMA and DMI only if there is no positions.
If there is one positions new values of SMA and DMI are not calculated but only compared in IF blocks.


 

Jump to:  

cron
  © 1998-2024 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