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.

ADX indicator - Main, DI+ and DI-
 Post subject: ADX indicator - Main, DI+ and DI- Post rating: 0   New post Posted: Mon 24 Oct, 2011, 22:35 

User rating: 0
Joined: Fri 21 Oct, 2011, 03:18
Posts: 1
Location: US
Can you please help me with writing code for ADX indicator where I can get values of prior three weeks values for ADX - Main, DI+ and DI- values in an double array [][].

(I am not sure if this is feasible with the API available).

I am converting my code in mql5 to JForex and need help with this.
https://www.mql5.com/en/docs/indicators/IADX


 
 Post subject: Re: ADX indicator - Main, DI+ and DI- Post rating: 0   New post Posted: Tue 25 Oct, 2011, 10:24 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
kansa108 wrote:
Can you please help me with writing code for ADX indicator where I can get values of prior three weeks values for ADX - Main, DI+ and DI- values in an double array [][].
You can do this by accessing the history:
https://www.dukascopy.com/wiki/index.php ... rical_bars
But normally, indicator works only with its own inputs, which depend on the input type and period that has been selected on the chart, see more here:
https://www.dukascopy.com/wiki/index.php ... :_Overview


 

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