any time I open the program, I cant continue as I get a windows Exception error (bellow)
didnt help deleting workspace and removing the culprit strategies (cs files)
obviously the compiled code is buggy.
apart from reinstalling the NINJA I was wondering how can you guys help me?
- I would like to fix the bug and continue rather than going back a few steps. so are you able to use team-viewer to see the system to try and find the bug ?
(I cant publish the proprietary idea entire code 2500+ lines)
I am not a professional coder. I have learned all I know from the forum and examples. for the last year I successfully built some strategies that actually work,
yesterday, with my latest work in progress I integrated some code into my strategy.
- EnumDisplayAttribyteExample
- ChartCustomSidePanelExample
(BTW I already have some Strategy BaseConverters..to manipulate the parameters Menu)
at first I succeeded to make it work by integrating it to my code (strategy, though the example is an indicator) and adapting it to my needs,
at some point when I included the line:
"using System.Windows.Forms"
and there was an error of ambiguity in the reference of :
HorizontalAlignment.Center,
the system thrown at me the bellow error.
System.NullReferenceException: Object reference not set to an instance of an object.
at NinjaTrader.NinjaScript.NinjaScriptBase.TriggerCus tomEvent(Action`1 customEvent, Int32 barsSeriesIndex, Object state)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Comment