Herman, Thanks for the code. I know I must be a bit dense, but how do I get it to work? I pasted your code into the AFL editor, clicked on 'Apply Indicator'. A new pane opens up with the indicator and parameters within it.
If I read your code correctly, it should create a new file with 5000 numbers, and then it reads from that very file. But no new file is created on my hard disk in the specified location.
