Edit I sent it via mail
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT7b18 crashes when hitting backtesting tab
Collapse
X
-
NT7b18 crashes when hitting backtesting tab
Here is the crash report
Edit I sent it via mailLast edited by TakisTakis; 07-16-2010, 03:56 PM.Tags: None
-
6.5 crashes too..... what is going on ?
I went to 6.5 to work a bit and it started crashing there too. Same situation, when I hit backtest (the same button that I have hit sooooo many times). It goes out. Nothing in the trace files.... wierd
-
Thanks I sent it to you via mail
I get no error. It just goes out. I hit the tab or backtest and the whole thing disapears leaving no trace behind...wierd
Comment
-
Why the apprentice should know well how inheritance works before starts..
Yes, there is something going on with inheritance, NT7 and .NET which is beyond my knowledge and I should not mess around with it ..

I have found one more element that may lead me to resolve the mysterious backtesting bug.
- After I cleanly reinstalled the NT7b18 I proceeded adding one by one the strategies until I arrived to the one that originally caused the problem. Well it caused the same bug again, hitting the backtesting killed everything....
- When I moved that strategy to NT6.5 I lost that too so I had to kill that too.
- I then rereinstalled NT7 (after backing up database) and proceeded adding one by one the strategies. Then I arrived to the root of the evil:
In that strategy I do some things that should not be done I think with NT7b18:
I form an inheritance chain that may cause trouble:
I inherit a class NTorder from a class NTSystem and a class NTtrade from class NTSystem and then I inherit NTSystem from MyCustomStrategy(called DebugLand) which inherits from Strategy (NT's own class)
When I hit compile the whole NT7 dissapeared without a warning. Watchout that I was using nested classes trying to use inheritance. The reason was that i wanted to access the Print fuction that belongs to strategy from inside the classes. If i do not inherit and just use the classes I will get a "cannot acess non-static member from a nested class" error.PHP Code:public class DebugLand : Strategy { ... public class NTSystem : DebugLand { ... public class NTorder : NTSystem { ... } public class NTrade : NTSystem { } }
When I relogged I took out the offensing strategy and in the edit Ninjascript there is nothing weird but when I hit the bactesting I see the above classes appearling as valid strategies in the backtesting tab but they do not appear in the edit ninjascript list ! (Nor the mother DebugLand because I deleted it!)!
I sent this message with traces, logs and other to your support.
PS. For those that are interested i am building a system that will emulate the function of NT for unmanaged orders. It will do all the exposure calculation, PnL, account equity and account balance for unamanaged orders because the build in NT system gives false reading during backetsting for unamanaged orders.Last edited by TakisTakis; 07-17-2010, 07:34 AM.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
598 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment