|
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 Strategy |
kiwitraderkl
|
Post subject: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 09:21
|
|
User rating: 0
Joined: Fri 25 Nov, 2011, 02:49 Posts: 17 Location: Malaysia,
|
Hi I get the following error when trying to compile the custom indicator strategy on wiki....
2012-01-16 08:17:53 The method registerCustomIndicator(File) in the type IIndicators is not applicable for the arguments (Class<IIndicator>) 2012-01-16 08:17:53 ^^^^^^^^^^^^^^^^^^^^^^^ 2012-01-16 08:17:53 indicators.registerCustomIndicator(IIndicator.class); 2012-01-16 08:17:53 1. ERROR in /var/folders/fh/71c6m11x2hz8k8zccns5b_vh0000gn/T/jfxide/tmp/CustomIndicatorStrategy2.java (at line 38)
Something I have done wrong?
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:05
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Which version of JForex-API are you using? Approach indicators.registerCustomIndicator(IIndicator.class) is available with JForex-API 2.6.38.
|
|
|
|
 |
kiwitraderkl
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:38
|
|
User rating: 0
Joined: Fri 25 Nov, 2011, 02:49 Posts: 17 Location: Malaysia,
|
I am latest version of client...
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:43
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
kiwitraderkl
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:45
|
|
User rating: 0
Joined: Fri 25 Nov, 2011, 02:49 Posts: 17 Location: Malaysia,
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:49
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
LIVE uses JForex-API 2.6.33. Thus, on LIVE on you can use only the approach with an indicator within a compiled .jfx file.
|
|
|
|
 |
kiwitraderkl
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 14:52
|
|
User rating: 0
Joined: Fri 25 Nov, 2011, 02:49 Posts: 17 Location: Malaysia,
|
Ok thanks I will try that. .. Do you know if the Spearman Index indicator got done ?
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 15:08
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
kiwitraderkl
|
Post subject: Re: Custom Indicator Strategy |
Post rating: 0
|
Posted: Mon 16 Jan, 2012, 15:11
|
|
User rating: 0
Joined: Fri 25 Nov, 2011, 02:49 Posts: 17 Location: Malaysia,
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|