Dukascopy
 
 
Wiki JStore Search Login

JFOREX-2837 NoSuchMethodException: OhlcChartObject
 Post subject: JFOREX-2837 NoSuchMethodException: OhlcChartObject Post rating: 0   New post Posted: Sun 06 Mar, 2011, 09:22 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
jfyi,

the above code compiles ok, but is throwing a NoSuchMethodException at the following line when run in historical tester

IOhlcChartObject ohlc =  chart.getChartObjectFactory().createOhlcInformer("inf1");


Error:
Quote:
Strategy tester: java.lang.NoSuchMethodException: com.dukascopy.charts.drawings.OhlcChartObject.<init>(java.lang.String) @ jforex.TestOHLC.onStart(TestChart.java:31)


The method
chart.getChartObjectFactory().createOhlcInformer();
is working fine.

Best, RR.


 

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