Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

problem with offerside
 Post subject: problem with offerside Post rating: 0   New post Posted: Wed 29 Aug, 2012, 07:53 

User rating: 1
Joined: Wed 07 Mar, 2012, 05:56
Posts: 101
Location: New CaledoniaNew Caledonia
hi support,

i have a problem with my strategy :

the strategy only take a long signal if the offeside is offerSide.ASK
the strategy only take a short signal if the offerside is offerSide.BID

i don't understand why.
please take a look at my code.

best regards.

eric


Attachments:
strator.java [17.9 KiB]
Downloaded 283 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: problem with offerside Post rating: 0   New post Posted: Wed 29 Aug, 2012, 08:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This is obviously not the case. We back-tested the strategy with the following settings:
Image

And already the first two orders had different directions:
Image

Please test your strategies more thoroughly. If there are some doubts about the strategy's algorithm, consider adding more logging statements with current prices, indicator values etc., see:
https://www.dukascopy.com/wiki/#IConsole/Logging_values


Attachments:
strator_report.png [23.31 KiB]
Downloaded 355 times
strator_settings.png [26.08 KiB]
Downloaded 336 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