Forum: NinjaTrader
January 15th, 2016, 05:37 PM
|
Replies: 9
Views: 1,983
mistake
OK, it can be compared to null....
but it is not instantiated so I get a run error "Object reference not set to an instance of an object" when comparing (==) to null
ideas?
|
Forum: NinjaTrader
January 15th, 2016, 05:27 PM
|
Replies: 9
Views: 1,983
might work
this is not instantiated in OnStartUp when there is no connection....
Bars.MarketData.Connection.Options.Provider
if I check it for null, it tells me it is a non-nullable field....
how can I...
|
Forum: NinjaTrader
January 15th, 2016, 04:14 PM
|
Replies: 9
Views: 1,983
any other ideas?
Ok, then that method won't work for me because these are chart indicators not used in any strategy....
any other ideas?
|
Forum: NinjaTrader
January 15th, 2016, 02:40 PM
|
Replies: 9
Views: 1,983
thks
OK, it looks like it should work, but I get this compile message... (it is in a working indicator that otherwise compiles normally)
...
|
Forum: NinjaTrader
January 15th, 2016, 01:04 PM
|
Replies: 9
Views: 1,983
|
Forum: NinjaTrader
January 15th, 2016, 01:00 PM
|
Replies: 9
Views: 1,983
bypass Onstartup code when no connection
Sometimes I don't automatically connect to a provider when Ninja starts up.
But I still have workspaces that open charts with indicators.
In this case I would like to bypass some code in...
|