Thanks @several for your response.
This code was produced by Gemini AI 2.5 Pro. I always request in my AI engineered prompt to use best known practices. In my GitHub I have produced myself some coding guides which anyone is welcome to download and kick the tires on. I can’t guarantee they are worth anything, but it is what I am using to get grounded in this environment. https://github.com/EgoNoBueno/NinjaTrader8—Public
My go to document right now is Ninjascript development with GitHub Tools. Take a look at it and, I’d be grateful for suggestions.
I coded the indicator to comply with some training I received at TradeDevils.
Currently I am cosying up to Visual Studio, and using Copilot for code development.
I’ll take a look at the resources you provided, and I thank you for pointing me to them. I will take a close look at all your suggestions. I agree more flexibility for time choices is very much needed.
Thank you!