|
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.
Set which output will be shown in a chart and which won't |
[gillette]
|
Post subject: Set which output will be shown in a chart and which won't |
Post rating: 0
|
Posted: Tue 14 Sep, 2010, 08:23
|
|
User rating: 1
Joined: Sat 26 Sep, 2009, 21:06 Posts: 13
|
I've tried to solved it using OutputParameterInfo.DrawingStyle.None, which works(no history line), but indicator still current value of a "hidden" output index on the right border of the indicator window... Which is a problem, because of autoscale. I want to show only one output index with values lie between let's say 100-120, but I also want to store some data in different range(0-5). Well the result is that real indicator scale from 0 - 120 instead 100-120.
So is there any way how to set which indicator outputs will be drawn and which isn't(like in metatrader)?
btw. I've also tried to hack it with setDrawnByIndicator, but with no result
|
|
|
|
 |
API Support
|
Post subject: Re: Set which output will be shown in a chart and which won' |
Post rating: 0
|
Posted: Wed 15 Sep, 2010, 09:11
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
You can define the scale by yourself. Look at the com.dukascopy.api.indicators.IMinMax interface, you can implement it in your indicator
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|