I found that adding prenext allowed the code to be run over the entire testing range
This is basically wrong. Read Docs - Operating the Platform it will simply give you access to a period in which all guarantees (like values of indicators being available) cannot yet be met.