The Strategy Builder variable initialization location in the code output seems to be in wrong place, per the "NinjaScript Best Practices" web page's ( http://ninjatrader.com/support/helpG..._practices.htm ) "State management practices" section, which states:
The Strategy Builder isn't following this advice, and instead is putting class level variable initialization in the "else if (State == State.SetDefaults)" section.
Question: Is the NinjaScript Best Practices web page correct, or is the Strategy Builder correct (or are both correct)?
Thank you very much in advance,
EquityTrader
Comment