This is how the indicator works. It's not the "Indicator tester" or "Trace" that shows wrong values. Sometimes I introduce bugs in the code, but I'm 99% sure that the block is working very fine 🙂
The huge number (21... ) is also known as EMPTY_VALUE and this number is how indicators tell the EA that there is no value to be shown. That's why the constant is called EMPTY_VALUE 🙂