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.

inputParameterInfos and optInputParameterInfos?
 Post subject: inputParameterInfos and optInputParameterInfos? Post rating: 0   New post Posted: Mon 12 Jul, 2010, 21:27 

User rating: 1
Joined: Fri 26 Mar, 2010, 19:19
Posts: 116
Location: Canada
I am trying to understand the custom indicators portion of the API. I have a few questions.

What's the difference between inputParameterInfos and optInputParameterInfos? Why would I use optInputParameterInfos if I can just tag everything into inputParameterInfos with an array?


 
 Post subject: Re: inputParameterInfos and optInputParameterInfos? Post rating: 0   New post Posted: Tue 13 Jul, 2010, 10:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
InputParameterInfos represents input data that are given by the chart, for example, ticks and candles. OptInputParameterInfos represents data that somehow need to affect calculations on input data, which is described by the InputParameterInfos. Number of inputs on InputParameterInfo match with the number of outputs of OutputParameterInfos contrary to OptInputParameterInfos, which had no impact on OutputParameterInfo.


 

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