Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

ADR indicator incorrect values
 Post subject: ADR indicator incorrect values Post rating: 0   New post Posted: Sun 23 Feb, 2020, 06:04 
User avatar

User rating: 7
Joined: Thu 05 Sep, 2013, 12:43
Posts: 56
Location: Russian Federation, Tomsk
I see in release notes that Jforex platform version 3.6.11 there is Improvement [JFOREX-11261] - Correct the min and max values for the ADR indicator. But JForex built-in ADR indicator still give incorrect values. See attached screens. I corrected original code of ADR indicator and renamed it to TrueADR. It give correct values. JForex built-in ADR indicator give incorrect results not always but some days. See 18.02.2020 and 21.02.2020 on example screens.

Incorrect ADR
Image


Correct ADR
Image


Attachments:
TrueADR.java [14.8 KiB]
Downloaded 284 times
TrueADR.png [14.78 KiB]
Downloaded 664 times
IncorrectADR.png [14.71 KiB]
Downloaded 398 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: ADR indicator incorrect values Post rating: 0   New post Posted: Tue 24 Mar, 2020, 17:55 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Greetings

ADR indicator calculation formula was not changed, only optional input "Time period" values range was corrected.

Best regards, API Support.


 

Jump to:  

  © 1998-2024 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