Dukascopy
 
 
Wiki JStore Search Login

EMA Strategy not working, not sure why
 Post subject: EMA Strategy not working, not sure why Post rating: 0   New post Posted: Mon 27 Apr, 2015, 04:21 
User avatar

User rating: 0
Joined: Mon 27 Apr, 2015, 04:15
Posts: 3
Location: New ZealandNew Zealand
Hi there

I'm new to visual JForex and created the attached EMA strategy, with the aim of buying and selling when the crossovers happen.

For some reason it does not do it at all crossovers and the following error messages are displayed and I'm unsure what I'm doing wrong.

Your help would be greatly appreciated.

Thanks!
Image


Attachments:
Error messages.JPG [57.68 KiB]
Downloaded 403 times
EMATest3.vfs [36.23 KiB]
Downloaded 118 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: EMA Strategy not working, not sure why Post rating: 0   New post Posted: Wed 29 Apr, 2015, 10:30 
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've modified your strategy and input some comments so that you can understand the reason of the error that you got./
There is still one last issue to be solved but the strategy is basically functional now.


Attachments:
EMATest3_refurb.vfs [41.52 KiB]
Downloaded 99 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: EMA Strategy not working, not sure why Post rating: 0   New post Posted: Thu 30 Apr, 2015, 10:02 
User avatar

User rating: 0
Joined: Mon 27 Apr, 2015, 04:15
Posts: 3
Location: New ZealandNew Zealand
Hi

I've had a look and error is resolved, thanks very much.
But it still is not doing what I'm expecting, could you perhaps point me in the right direction? Is that the other issue you are referring to?

I've attached the Intraday chart with the EMA lines and points where I believe the positions should have been opened and closed, but it has not. Not sure what I'm missing.

Thanks again for the help on this.


Image


Attachments:
EMA Chart.jpg [191.46 KiB]
Downloaded 395 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.
 
The Best Answer  Post subject: Re: EMA Strategy not working, not sure why Post rating: 1   New post Posted: Tue 12 May, 2015, 10:02 
Visual JForex expert at Dukascopy
User avatar

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

Here is an example of a strategy based on EMA crossover for your consideration. It trades according the crossover of the EMA 14 and 7. You may adjust your strategy based on this example.

Cheers


Attachments:
Webinar5_11.vfs [40.93 KiB]
Downloaded 108 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: EMA Strategy not working, not sure why Post rating: 0   New post Posted: Thu 14 May, 2015, 03:54 
User avatar

User rating: 0
Joined: Mon 27 Apr, 2015, 04:15
Posts: 3
Location: New ZealandNew Zealand
That seems to do it. Thanks so much for the help!


 

Jump to:  

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