|
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 getLookback() access |
[kralowsky]
|
Post subject: Custom Indicator getLookback() access |
Post rating: 0
|
Posted: Thu 07 Jan, 2010, 03:17
|
|
User rating: 0
Joined: Sat 08 Mar, 2008, 03:10 Posts: 18
|
I have a custom indicator I want to be able to call the getLookback() method on, but context.getIndicators().getIndicator("CustomIndicatorName").getLookback() doesn't work which is not surprising. Should we be able to do this? If so, how do we "register" the custom indicator name with the list of all indicators?
Thanks!
|
|
|
|
 |
API Support
|
Post subject: Re: Custom Indicator getLookback() access |
Post rating: 0
|
Posted: Thu 07 Jan, 2010, 10:28
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There is a method in IIndicators interface to register your custom indicator - registerCustomIndicator(File). After you call it you can use getIndicator(String name) to get IIndicator instance
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|