Dukascopy
 
 
Wiki JStore Search Login

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
 Post subject: Set which output will be shown in a chart and which won't Post rating: 0   New post 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


 
 Post subject: Re: Set which output will be shown in a chart and which won' Post rating: 0   New post Posted: Wed 15 Sep, 2010, 09:11 
User avatar

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


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com