|
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.
Stochastic |
Heatheri77
|
Post subject: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 09:34
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
Dear Support, I am trying to explore programming. I got a sample from WIKI. See attached.
However when I tried to run it (Intraday, 5 mins timeframe), I got the following message. Could someone please help to check the code.
2012-08-08 00:00:00 Exception java.lang.NullPointerException @ jforex.strategies.Stochastic.onStart(Stochastic.java:47)
Thanks so much in advance.
Attachments: |
Stochastic.jfx [5.24 KiB]
Downloaded 286 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: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 09:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
please post the java code, not the compiled .jfx file.
|
|
|
|
 |
Heatheri77
|
Post subject: Re: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 09:56
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
Sorry, here it is.
Attachments: |
Stochastic.java [3.81 KiB]
Downloaded 296 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: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 09:57
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
You need to open the chart for the selected instrument.
|
|
|
|
 |
Heatheri77
|
Post subject: Re: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 10:10
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
I was in the chart for the selected instrument. Still I have the error.
|
|
|
|
 |
API Support
|
Post subject: Re: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 10:20
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
Heatheri77
|
Post subject: Re: Stochastic |
Post rating: 0
|
Posted: Wed 08 Aug, 2012, 11:14
|
|
User rating: 1
Joined: Tue 07 Aug, 2012, 08:43 Posts: 49 Location: SingaporeSingapore
|
Thank you. Let me try it, let you know.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|