Thanks @brax.

I already noticed, that the compiler doesn't give me this error when I remove the "*", but then it's even worse:

Error 111: Crash in script: run()

No further explanation from the compiler is given. I attached the *.h file and would be glad if somebody could take a look. It's an early version of a support and resistance indicator.

The standard pointer list sounds complicated, but thanks for the hint. I thought I had to use the "free" function, like free(*void, myArray[index]).... Is this possible, too?

Attached Files
SR7dynamic.c (91 downloads)