# How does deriv calculate adx indicator?

**URL:** <https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176>\
**Category:** General Discussion\
**Created:** [September 6, 2023, 11:25am UTC](https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176 "2023-09-06T11:25:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![centrev-airning-1](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@centrev-airning-1](https://community.deriv.com/u/centrev-airning-1)\
**Post date:** [September 6, 2023, 11:25am UTC](https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176/1 "2023-09-06T11:25:45Z")

</div>

Hi. I’m trying to implement my own ADX indicator according to this topic:  
[https://www.investopedia.com/terms/a/adx.asp](https://www.investopedia.com/terms/a/adx.asp)  
The problem is my values are different from what I see in deriv app website.  
I’ve found deriv app github repo but there is no ADX module (or I can’t find it):  
[https://github.com/binary-com/deriv-app](https://github.com/binary-com/deriv-app)  
Is there any way to get deriv’s function or formula to calculate ADX?

---

<div class="post-metadata">

**Author:** ![Sakina\_derivadmin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.deriv.com/sakina_derivadmin/32/5512_2.png) [@Sakina\_derivadmin](https://community.deriv.com/u/Sakina_derivadmin)\
**Post date:** [September 6, 2023, 12:16pm UTC](https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176/2 "2023-09-06T12:16:44Z")

</div>

Dear @centrev-airning-1 Thank you for joining our Deriv Community. We are sorry to hear about the issue you are facing. In order to provide you with the best possible assistance and ensure the protection of your account’s data, we would require additional information. We kindly request you to please contact us via LiveChat so we can investigate the matter further and resolve any issues as quickly as possible. You can reach us at [Online trading with Deriv | Simple. Flexible. Reliable.](https://deriv.com/contact_us). Thank you for your cooperation.

---

<div class="post-metadata">

**Author:** ![centrev-airning-1](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@centrev-airning-1](https://community.deriv.com/u/centrev-airning-1)\
**Post date:** [September 7, 2023, 9:06am UTC](https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176/3 "2023-09-07T09:06:27Z")

</div>

Thanks for your reply. I’ve finally fixed it. The trick was to load more candles.

---

<div class="post-metadata">

**Author:** ![Erika\_deriv](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@Erika\_deriv](https://community.deriv.com/u/Erika_deriv)\
**Post date:** [September 7, 2023, 7:37pm UTC](https://community.deriv.com/t/how-does-deriv-calculate-adx-indicator/63176/4 "2023-09-07T19:37:22Z")

</div>

Hi @centrev-airning-1, thank you for getting back to us. We are happy to hear that the issue is solved!

 ![Screenshot 2023-09-07 at 15.27.43](https://us1.discourse-cdn.com/flex020/uploads/deriv/original/2X/5/570289af808e0fe3a64d580703e92179e0f6b81f.jpeg)
