Lately when I compile my indicator, it is taking about 20 seconds instead of the usual 2 seconds.
The indicator is about 13,000 lines but this has never been an issue before.
I have tried re-installing Ninjatrader, including removing ALL custom scripts (indicators and Statgies) and installing a fresh copy. Still the problem persists.
The strange thing is it seems to be a post compiler stall rather that the actual compilation process which is causing the issue. I know this because I have tried putting an error in the code. When I do this the comiler shows the error immediately, then hangs for 20 seconds...
Also I have tried removing all the custom ninja generated code and re-comiling and the ninjacode is generated in its entirety before it starts to hang for the 20 seconds.
So just to clarify, it compiles, then expands all my regions, the hangs for 15 - 10 seconds, then all the regions close up and I can start editing code again.
Any suggestions?
Comment