|
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.
| no way to get the actual Instrument in an IIndicator |
|
SFXbernhard
|
| Post subject: no way to get the actual Instrument in an IIndicator |
Post rating: 0
|
Posted: Mon 26 Jul, 2010, 13:36
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
|
If there is an IIndicator running in an IChart. The IIndicator itself has no way to get this actual used IChart nor the actual used Instrument. I need this possibility for my indicator programms. Please implement this.
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: no way to get the actual Instrument in an IIndicator |
Post rating: 0
|
Posted: Fri 20 Aug, 2010, 08:54
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
Hi, Please use IIndicatorContext.getInstrument() method to obtain the indicator instrument. You can't get access to the IChart object but you can implement the IDrawingIndicator interface and draw output.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|