The error says "Unhandled exception: Object reference not set to an instance of an object.
As you can see in the images attached, i show my workspace, first with the Ninjascripts reloaded in the four charts. The strategy is the same for all the charts.
As you can see the strategy loads two buttons and a quantity selector and displays the status "Waiting for realtime data". At this state, the buttons are disabled, as they are only enabled when a specific condition is met. The quantity selector appears enabled with a 10 as a default value.
When i select with the mouse the quantity selector and change its value with the mouse wheel to 9, in this example, in two of the charts a get the error, while in the other two the strategy works and as part of the strategy displays some additional information. If conditions were met and one of the buttons were enabled and cliked, the error is the same.
Wierd thing is that if in an errored chart i change the pair to a working pair, the strategy works normally and when i change back to the failed pair, the strategy begins to fail again.
At some point in the past, i deleted _Workspaces.xml and even changed workspaces, but now as you can see in the file new workspace and new workspace one error one good images, sometimes it works for a chart and sometimes it does not.
Can you please help me understand and fix what is going on? If error were the same in all charts, no matter what the pair, nor the workspace, i would say it is the strategy code, but it is so wierd that i cannot figure it out.
Please help.
Thank you and best regards,
RoBott.
Comment