The new version sometimes show errors in the log tab:
and my indicator does not work. I've never met this problem since NT8 beta with the same indicator.
So I tried to debug it: add more log print, comment block of code step by step, finally I really found nothing suspicious but it still happened. sometimes it happens quite frequently, sometimes it only happens once when I launch NT again and again over 10 times.
So I suspect it's introduced by the new version only, and I switched back to 8.0.3.1, as expected, it works well again!
Well, you may ask:
does your indicator load additional data?
does the indicator call any other indicators?
The answer is NO, absolutely NO!
And I can tell you when I debug I even comment all the OnBarUpdate and OnRender code, but it still didn't solve the problem.
I also found that the forum has similar reports like:
http://ninjatrader.com/support/forum...d.php?p=495080
http://ninjatrader.com/support/forum...d.php?p=494154
http://ninjatrader.com/support/forum...d.php?p=497271
http://ninjatrader.com/support/forum...ad.php?t=95996
The another cause I think maybe it's because the workspace? every time the error is after a log "Restoring workspace xxx", so maybe there's something wrong or incompatible in the workspace? My workspace is exported by previous version then imported into new version.
I am sorry I can't provide my indicator here, sorry.
Comment