During recent debugging I had a print statement that printed out line 293. I started seeing this coming up in my output window even though none of the indicators or strategies attached to any charts had a print statement with 293 in it.
Thought I was crazy and came back the next day (today) and was surprised to see that I still could not find where it was coming from so I figured I'd remote into another one of the windows machines I use to run ninjatrader and I saw that not only did the code I was working on not print 293 on this new machine but the code itself worked on the second machine whereas it didn't on the machine I was working on originally (the NUC that prints 293). Specifically a histogram that uses a tertiary data series as part of a strategy - the custom indicator is added to the chart so while looking for the 293 I was surprised that it was plotting.
The thing I wanted to highlight and ask about is how this is possible. The code I was working on I complied > exported > uploaded to cloud > downloaded to second windows machine > different behavior. Specifically the first two behaviors that are different: not printing 293, mtf histogram working.
To eliminate as many variables as possible, on both machines I created a new fresh workspace and used fresh templates for the charts so I know there's nothing sneaking in there.
Seems like it may be a situation where I need to just reinstall on the NUC but that is disconcerting because I have no idea what the issue is.
One thing that may or may not be related: this new machine has been crashing ninja regularly but I've been chalking that up to inefficient code I've been writing - but this has never been an issue on any other computers I've used for similar work. Could be hardware related?
Any insight from anyone is greatly appreciated.
Comment