I've always used System.Diagnostics.Trace.WriteLine() to print message to the NT trace file (NinjaTrader 8/trace/trace.<date/count>.txt) from NinjaScript source code. This does not work (no prints appear in the trace file) when running the NinjaScript as an assembly. How can I print to the trace file from an assembly?
Thanks,
Josh
Comment