|
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.
Custom Indicator using STOCH not displaying indicator |
jamesadk
|
Post subject: Custom Indicator using STOCH not displaying indicator |
Post rating: 0
|
Posted: Mon 12 Oct, 2015, 21:22
|
|
User rating: 0
Joined: Fri 04 Apr, 2014, 16:35 Posts: 50 Location: Monaco, Monte-Carlo
|
Hi,
I'm trying to write a custom indicator which is based off an indicator calling the STOCH indicator. I have attached my code where the SMA uses the output of the Stoch indicator. It all compiles without error and runs without error.....except for the fact that nothing is displayed in the indicator panel.
I would appreciate any insight that would help this work.
Thanks
J
Attachments: |
SMAonSTOCHTrial.java [7.4 KiB]
Downloaded 110 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.
|
|
|
|
|
 |
jamesadk
|
Post subject: Re: Custom Indicator using STOCH not displaying indicator |
Post rating: 0
|
Posted: Mon 19 Oct, 2015, 11:52
|
|
User rating: 0
Joined: Fri 04 Apr, 2014, 16:35 Posts: 50 Location: Monaco, Monte-Carlo
|
Hi support,
Are you able to shed some light on this please? I think it has to do with STOCH requiring a PRICE input as opposed to DOUBLE. But I can't get it to work.
Thanks
|
|
|
|
 |
jamesadk
|
Post subject: Re: Custom Indicator using STOCH not displaying indicator |
Post rating: 0
|
Posted: Fri 23 Oct, 2015, 13:41
|
|
User rating: 0
Joined: Fri 04 Apr, 2014, 16:35 Posts: 50 Location: Monaco, Monte-Carlo
|
Hi support,
Could you please take a look at this when possible please?
I cannot figure why the indicator compiles and no errors are returned when using the indicator in JForex yet nothing is displayed.
Thanks
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator using STOCH not displaying indicator |
Post rating: 0
|
Posted: Thu 05 Nov, 2015, 08:13
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Here is amended version
Attachments: |
SMAonSTOCHTrial_2.java [7.52 KiB]
Downloaded 117 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.
|
|
|
|
|
 |
jamesadk
|
Post subject: Re: Custom Indicator using STOCH not displaying indicator |
Post rating: 0
|
Posted: Thu 05 Nov, 2015, 14:13
|
|
User rating: 0
Joined: Fri 04 Apr, 2014, 16:35 Posts: 50 Location: Monaco, Monte-Carlo
|
Great thank you. Seems I missed the use of IConsole.
J
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|