How does deriv calculate adx indicator?

Hi. I’m trying to implement my own ADX indicator according to this topic:
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):
Is there any way to get deriv’s function or formula to calculate ADX?

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.. Thank you for your cooperation.

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

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