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.

Identify ADX trends programmatically
 Post subject: Identify ADX trends programmatically Post rating: 0   New post Posted: Fri 08 Jun, 2012, 20:15 

User rating: 0
Joined: Thu 19 May, 2011, 16:00
Posts: 37
Location: UkraineUkraine
Hello!

When adding ADX indicator in UI it is possible to specify colors to trend up and trend down. How I can detect this changes from Java? I


 
 Post subject: Re: Identify ADX trends programmatically Post rating: 0   New post Posted: Fri 08 Jun, 2012, 23:07 
User avatar

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

If last adx value is greater than the value of adx of previous bar... trending up and the inverse applies. I don't know if more values are used for that comparation, but it's that way.

I not see the code of the indicator, but you can see the code in ta-lib code as this indicator is present in this library and not implemented on JForex API (if i'm not wrong).

I hope that helps.

Trade well and prospers in your way.

JL


 
 Post subject: Re: Identify ADX trends programmatically Post rating: 0   New post Posted: Sat 09 Jun, 2012, 15:26 

User rating: 0
Joined: Thu 19 May, 2011, 16:00
Posts: 37
Location: UkraineUkraine
Thanks for replay. I implemented this idea several days ago and it not relay to picture I see on Dukascopy terminal. In most of the cases it works as expected but sometimes detects trends not shown in UI.
I`ll try to check source codes.


 

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