Understanding an Indicator

 
Hello,

I have had an indicator for many years, I would like to try and understand the logic of how the code is working. I am looking for someone who knows MQL5 that would be willing to go through the parts of the indicator with me to explain the logic. It is a pretty simple indicator using the ADX indicator and arrays from what I can tell. I am just not able to understand how the arrays are being used and why use the arrays when the indicator appears to only compare the current adx value to the last. 

Please send me a message if you are interested and willing to help, I am not looking for you to do any coding but just look through an indicator script and answer some questions.

Thank you
 
If you post it here, you'll get probably quite good answers.