Algorithmic Trading with NinjaTrader
Question on my way to understand the code more in detail:
Line 232, State.SetDefaults, what is the process flow of it ?
? 1, what is State in State == State.SetDefaults) ?
** does it check if SetDefaults is executed already ?
** if yes, how does it indicate that ?
** if yes, does the program jump to SetDefaults and SetParameters, which is at another location in the script ? Or are SetDefault and SetParameters globally saved in memory and are accessed now ?
? 2, in line 234 SetDefault();
** does it mean it calls SetDefaults in line 295 ?