|
getIndicator returns null for some indicators |
terryww
|
Post subject: getIndicator returns null for some indicators |
Post rating: 0
|
Posted: Tue 09 Apr, 2013, 14:19
|
|
User rating: 0
Joined: Tue 09 Apr, 2013, 14:14 Posts: 8 Location: SloveniaSlovenia
|
Hi.
I'm having problems calling indicators by String name. E.g. the first example returns a non null object, the second returns null. Also for "linearRegAngle" null is returned. Why can't all indicators be called by name and which one can and cannot be retrieved with this method? indicators.getIndicator("linearReg"); indicators.getIndicator("linearRegSlope");
Sincerely, Terry
|
|
|
|
 |
Platform Support
|
Post subject: Re: getIndicator returns null for some indicators |
Post rating: 0
|
Posted: Wed 10 Apr, 2013, 09:48
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
Change indicator names to "LINEARREG_ANGLE" and "LINEARREG_SLOPE". You can use the "Add indicator" dialog to check the correct names of indicators used in the getIndicator() method.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|