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.

Refresh problem about the MultiInputIndicator.java
 Post subject: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 05:18 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Hi,

I am playing the indicator example MultiInputIndicator.java.
Its self is no problem.
But If I remove the code for setInstrument in the inputParameterInfos,
A refresh problem will be occurred.

The modified version is attached, please have a look.


Attachments:
MultiInputIndicator.java [3.63 KiB]
Downloaded 282 times
refresh-problem.png [17.72 KiB]
Downloaded 331 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: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 08:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This might occur in the case when there are some connectivity problems with data cache. Please check what you receive on java console:
viewtopic.php?f=81&t=39073&p=50123


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 09:45 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Hi support,

There is no error at all when the problem occurs.

and please note that if uncomment the code lines of setInstrument, it is no problem.

It often occurs on changing time frames or clicking menu "Edit indicator".


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 10:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
qduyang wrote:
and please note that if uncomment the code lines of setInstrument, it is no problem.
The line is not the cause for this. Try changing period to 10 mins and then back to 1 hour, the indicator should get drawn for the entire chart length. Presumably, this is related to data cache discrepancies this morning from 12 to 7 AM.


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 10:58 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Hi support,

Here I got 2 screenshot attached.

A.png is display without problem after switching time frame.

B.png shows the problem re-occurs if menu "Edit indicator" clicked.

if uncomment the 2 lines there is no such problem. of course, I am not sure that has any relations, but test result is that.

at last, the problem can be reproduced on other instruments also.


Attachments:
File comment: problem re-occurred
B.png [33.71 KiB]
Downloaded 312 times
File comment: indicator displayed ok after switching TF
A.png [30.64 KiB]
Downloaded 325 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: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 15:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please check if the problem persists after temporarily changing the cache path in JForex client:
Tools -> Preferences -> Advanced -> Local cache path


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 17:28 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Yes, it *exists* after change the cache and restart platform.


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Mon 28 Nov, 2011, 17:51 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
One more clue, it also occurs on an another server with another account.


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Tue 29 Nov, 2011, 18:17 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Hi Support,

How is this problem going?
Is it reproducible on you side?

Thanks!


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Tue 29 Nov, 2011, 22:25 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We were not able to consistently reproduce the case (it occurred, but repeating the same actions the behavior changed to correct). We will return to the issue as soon as available.


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Fri 02 Dec, 2011, 02:45 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Hi support,

Is there any news?

thanks!


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Fri 02 Dec, 2011, 09:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The issue will be fixed with the next release of JForex client.


 
 Post subject: Re: Refresh problem about the MultiInputIndicator.java Post rating: 0   New post Posted: Fri 02 Dec, 2011, 10:43 
User avatar

User rating: 0
Joined: Sat 12 Nov, 2011, 03:02
Posts: 19
Location: ChinaChina
Thanks for your information.


 

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