can anybody explain about ADX and how to program it in python'
#EPAT batch 50
Hi Ajit,
The ADX indicator consists of three components basically:
- Positive direction indicator
- Negative Direction indicator
- Directional Indicator (DX)
The directional index indicator is given as:
DX = (Difference of positive and negative directional index indicator) / (sum of positive and negative directional indicator)
If you have a few minutes, I have written a blog where I go step by step on how the ADX indicator is calculated as well as how to use it in python. You just need the OHLC data of a stock or index and you will be able to calculate the ADX indicator in no time.
The link is as follows: https://blog.quantinsti.com/adx-indicator-python/
Do let me know if there is still a doubt and I will be happy to resolve any queries.