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.

Multiple instruments
 Post subject: Multiple instruments Post rating: 0   New post Posted: Fri 18 Feb, 2011, 23:12 

User rating: 0
Joined: Fri 15 Jan, 2010, 13:58
Posts: 8
Hi,
An idea to support mql4 inside jforex was brilliant. I used your ConnectorStrategy class to successfully compile my hedging EA. However I when I'm trying backtesting I get following error: com.dukascopy.api.JFException: Instrument [USD/CHF] not opened @ jforex.converted.MyEA.DoThings(MyEA.java:52)
Opening positions works for a currency pair where an EA is loaded, but historical tester is unable to open a position for other pairs. How to get multiple currency pairs tradeable in historical tester when using mt4 environment ? Thanks in advance


 
 Post subject: Re: Multiple instruments Post rating: 0   New post Posted: Mon 07 Mar, 2011, 15:09 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
oktar wrote:
Hi,
An idea to support mql4 inside jforex was brilliant. I used your ConnectorStrategy class to successfully compile my hedging EA. However I when I'm trying backtesting I get following error: com.dukascopy.api.JFException: Instrument [USD/CHF] not opened @ jforex.converted.MyEA.DoThings(MyEA.java:52)

Please try to select the USD/CHF currency in the historical tester tab and retest your strategy.


 

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