|
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 |
qduyang
|
Post subject: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 05:18
|
|
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.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 08:52
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 09:45
|
|
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".
|
|
|
|
 |
API Support
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 10:08
|
|
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.
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 10:58
|
|
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.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 15:48
|
|
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
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 17:28
|
|
User rating: 0
Joined: Sat 12 Nov, 2011, 03:02 Posts: 19 Location: ChinaChina
|
Yes, it *exists* after change the cache and restart platform.
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Mon 28 Nov, 2011, 17:51
|
|
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.
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Tue 29 Nov, 2011, 18:17
|
|
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!
|
|
|
|
 |
API Support
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Tue 29 Nov, 2011, 22:25
|
|
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.
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Fri 02 Dec, 2011, 02:45
|
|
User rating: 0
Joined: Sat 12 Nov, 2011, 03:02 Posts: 19 Location: ChinaChina
|
Hi support,
Is there any news?
thanks!
|
|
|
|
 |
API Support
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Fri 02 Dec, 2011, 09:02
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
The issue will be fixed with the next release of JForex client.
|
|
|
|
 |
qduyang
|
Post subject: Re: Refresh problem about the MultiInputIndicator.java |
Post rating: 0
|
Posted: Fri 02 Dec, 2011, 10:43
|
|
User rating: 0
Joined: Sat 12 Nov, 2011, 03:02 Posts: 19 Location: ChinaChina
|
Thanks for your information.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|