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.

I don't know the code means for.
 Post subject: I don't know the code means for. Post rating: 0   New post Posted: Sat 06 Apr, 2013, 18:19 
User avatar

User rating: 0
Joined: Sun 03 Mar, 2013, 15:45
Posts: 34
Location: China, guangdong
can you tell me what it means?

private double[] atr = new double[Instrument.values().length];


 
 Post subject: Re: I don't know the code means for. Post rating: 1   New post Posted: Sun 07 Apr, 2013, 00:08 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi wenchao35:

This code initializes the variable atr as an array of "doubles" and creates it with the "space" for the number of doubles returned by instrument.values().length().


Trade well

JL


 
 Post subject: Re: I don't know the code means for. Post rating: 0   New post Posted: Sun 07 Apr, 2013, 14:01 
User avatar

User rating: 0
Joined: Sun 03 Mar, 2013, 15:45
Posts: 34
Location: China, guangdong
jlongo wrote:
Hi wenchao35:

This code initializes the variable atr as an array of "doubles" and creates it with the "space" for the number of doubles returned by instrument.values().length().


Trade well

JL



thank you for your help!! :) :)


 

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