Dukascopy
 
 
Wiki JStore Search Login

IOhlcChartObject's ChartObjectListener
 Post subject: IOhlcChartObject's ChartObjectListener Post rating: 0   New post Posted: Thu 11 Jul, 2013, 23:21 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Is it possible to define a ChartObjectListener for an ohlc widget?
If yes, and this should work, could someone give me a tip why the attached strategy not `working`? The widget is created upon strategy start, but no matter what I try, the ChartObjectListener's functions are not fired.


Attachments:
File comment: sample strategy that implements ChartObjectListener for an IOhlcChartObject object.
TestOHLC2.java [2.17 KiB]
Downloaded 408 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: IOhlcChartObject's ChartObjectListener Post rating: 0   New post Posted: Fri 12 Jul, 2013, 02:09 
User avatar

User rating: 70
Joined: Sat 22 Sep, 2012, 17:43
Posts: 118
Location: Brazil, Fortaleza, Ceará
This one could be 'Bug' worthy - no obvious reason why the listener fails to pick up a single callback. Tried new and deprecated approaches including setLocked(false) and nothing. Hopefully API Support can shed light.


 
 Post subject: Re: IOhlcChartObject's ChartObjectListener Post rating: 0   New post Posted: Fri 12 Jul, 2013, 12:12 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Quote:
Hopefully API Support can shed light.

Well, they did. By placing the topic under Bug Reports. ;)


 
 Post subject: Re: IOhlcChartObject's ChartObjectListener Post rating: 0   New post Posted: Tue 23 Jul, 2013, 15:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The fix will be available with JForex-API 2.8.1.


 
 Post subject: Re: IOhlcChartObject's ChartObjectListener Post rating: 0   New post Posted: Sun 28 Jul, 2013, 23:38 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Dear Support,
Thanks for the fast response.

Could you put a little pressure on Platform Support please, to start using features and bug-fixes at least on the DEMO platform? It is still on API-2.7.10.


 

Jump to:  

  © 1998-2024 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