Originally Posted by Oliverlista
Can you please express ADX as a function so I can learn?

You must use the return value of your existing ADX call, rather than dereferencing a function as an array (very illegal).

Do you know how functions work? Read here:
https://zorro-project.com/manual/en/function.htm

Do you know how vars and series work? Read here:
https://zorro-project.com/manual/en/series.htm
https://zorro-project.com/manual/en/apointer.htm