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.

OutputParameterInfo: setOpacityAlpha(n) not set in Indicator-DialogBox
 Post subject: OutputParameterInfo: setOpacityAlpha(n) not set in Indicator-DialogBox Post rating: 0   Post Posted: Thu 23 Aug, 2012, 21:38 
User avatar

User rating: 1
Joined: Fri 24 Jun, 2011, 16:05
Posts: 21
Location: Austria, Innsbruck
Altough I code the Opacity in the indicator

outputParameterInfos = new OutputParameterInfo[]
{new OutputParameterInfo("EMA1", OutputParameterInfo.Type.DOUBLE,
OutputParameterInfo.DrawingStyle.DASH_LINE)
{{setOpacityAlpha(50);}}
....
the Transparency in the dialogbox for the indicators shows always "Opaque".

best regards


 
 Post subject: Re: OutputParameterInfo: setOpacityAlpha(n) not set in Indicator-DialogBox Post rating: 0   Post Posted: Wed 29 Aug, 2012, 12:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The opacity ranges from 0 to 1.


 

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