Can anyone please tell me how C# preprocessor directives are executed in Ninjatrader? I have the following code:
#if (NT7)
one line of code;
#else
one line of code;
#endif
I am currently not using: #define NT7
and I am wondering whether I should set it after the Using Declarations, or whether the compiler somehow knows the code is NT7 and sets the #define NT7 by default.
Any advice would be greatly appreciated. Thank you.

Comment