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.

history.getBar
 Post subject: history.getBar Post rating: 0   New post Posted: Sun 09 Jan, 2011, 21:20 

User rating: 0
Joined: Tue 15 Sep, 2009, 00:44
Posts: 20
Is it necessary to call history.getBar each time before calling an indicator?

IBar bar1 = history.getBar(instrument,Period.ONE_HOUR,OfferSide.BID, 1);


 
 Post subject: Re: history.getBar Post rating: 0   New post Posted: Mon 10 Jan, 2011, 08:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
No, it is not necessary. For details how to call indicators from the JForex API, please take a look at the following JForex Wiki page: https://www.dukascopy.com/wiki/index.php ... Indicators


 

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