Dukascopy
 
 
Wiki JStore Search Login

The strategy run in EUR/USD but it does not in other instruments
 Post subject: The strategy run in EUR/USD but it does not in other instruments Post rating: 0   New post Posted: Thu 13 Feb, 2014, 03:31 
User avatar

User rating: 0
Joined: Mon 11 Mar, 2013, 00:00
Posts: 47
Location: Colombia, manizales
Hi, I am runing a strategy in EUR/USD (live running), but when I select NZD/USD or other instruments it does not.

What could be the problem?

I see this messages: 02:46:23 Order REJECTED: CONDITIONAL BUY NZD/USD, REASON: Invalid price format - please use increments of 0.1 pip.


The strange is that in other pairs the strategy runs OK. but in NZD/USD it does not.


 
 Post subject: Re: The strategy run in EUR/USD but it does not in other instruments Post rating: 0   New post Posted: Thu 13 Feb, 2014, 09:11 
Visual JForex expert at Dukascopy
User avatar

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

Can you please provide us with the strategy?
Probably, it has something to do with rounding numbers. We will fix it.

Cheers


 
 Post subject: Re: The strategy run in EUR/USD but it does not in other instruments Post rating: 0   New post Posted: Tue 25 Mar, 2014, 21:50 
User avatar

User rating: 0
Joined: Fri 17 Jan, 2014, 18:13
Posts: 72
Location: NetherlandsNetherlands
Just started with jForex. I noticed the line:
final Instrument instrument = Instrument.EURUSD;

in many examples. So the example strategy only works on Euro Usd. Might that be the problem?

Question: Is it possible to make a strategy recognize the instrument of the currently active chart, other than
@Configurable("Instrument")
    public Instrument instrument = Instrument.EURUSD;


 
 Post subject: Re: The strategy run in EUR/USD but it does not in other instruments Post rating: 0   New post Posted: Thu 17 Apr, 2014, 08:20 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
Quote:
Can you please provide us with the strategy?


So we can identify the problem.


 

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