when you attach an indi to chart, and there happens some error during execution (not to mention an error while COMPILING, but during execution of script on chart),
the LOG window SHOWS THE LINE NUMBER, where the problem happens.
however, Ninjatrader only shows method name, i.e.
...OnBarUpdate... index out of bounds or array or etc....
no hint on which line or which variable it happened, and huge headache...
I have programmed many thing in other programming languages (like php, js and etc..),
and have always achieved to create a log-function, that shows THE PROBLEM LINE and VARIABLE NAME TOO!
what is so hard in C#, for NT developers, to spend a half an hour to make a solution to show that too in NT.
at this moment we have to spend HOURS to find the problems within "OnBarUpdate", by utilizing bunch of Print and custom brainstorming.. so, solution will be great.
Comment