yes they NEED to be global. they need to retain their value from bar to bar, otherwise it isn't working (this was my original bug)Jimmy wrote: Sat Jun 20, 2026 12:14 am
They are Global and not arrays which means they exist during the whole calculation loop.
Also I fixed the Structure filter it was a rookie move. and no, there wasn't any lookahead (ChatGPT still thinks MT5 is Series by default lol) the code was just plain wrong.
here is the fix, let me know if other things aren't working