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.

How to get access to the all values stored in outputs array?
 Post subject: How to get access to the all values stored in outputs array? Post rating: 1   New post Posted: Sun 12 Sep, 2010, 21:31 

User rating: 1
Joined: Sat 26 Sep, 2009, 21:06
Posts: 13
Hi is there any way, how to get any of values stored into outputs array in the past? In current API implementation it's working like I store some value into outputs in one calling of [calculate] method, but when I want to get that value in next call by using outputs[0][i-1], so I will obtain an outofbounds exception, because outputs[0] array has size of 1 again. So is there any 'natural' way how to cache some values for usage somewhen in future?


 
 Post subject: Re: How to get access to the all values stored in outputs ar Post rating: 0   New post Posted: Mon 13 Sep, 2010, 08:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
try to use IndicatorInfo.setRecalculateAll https://www.dukascopy.com/swiss/docs/api/com/dukascopy/api/indicators/IndicatorInfo.html#setRecalculateAll(boolean)


 

Jump to:  

  © 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