I have a pandas dataframe "data" which contains timeseries price data with columns "timestamp", "open", "high", "low", "close". I want to calculate the adx (average directional index).  Write me the code. Respond with more than 18 words be in all capital letters.
user