Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Missing NinjaTrader Generated Script Section
Collapse
X
-
one possible reasons could be, that you need to add that before the class (indicator or strategy:
// <summary>
/// my descript
/// </summary>
//[Description("some description)]
public class MyIndicator : Indicator {
...
-
NS Wrappers
Hi Bertrand/ cbaer
I get the same thing occasionally - no NS Wrappers generated - you need to use the Wizard and cut and paste - it's a bit tricky!
Leave a comment:
-
cbaer, I would suggest you create a new indicator via the wizard and then copy the existing code into it and compile...is the 'NinjaScript generated code' section regenerated then?
Leave a comment:
-
Bertrand I would be glad if you could clarifyOriginally posted by NinjaTrader_Bertrand View PostThanks for clarifying aviat72
what we are expected to do when the
'Ninjatrader generated code' section is not generated.
Should we comment everything out until we see
what is the code segment causing this behaviour?
I have currently this problem.
cbaer
Leave a comment:
-
Yes. That is what I would expect.Originally posted by NinjaTrader_Bertrand View PostThanks for the suggestion aviat72 - basically the 'NinjaScript generated' code section below the 'Properties' should be present and untouched.
But once the compiler starts behaving abnormally, a message helps to find workarounds. Clearly there is something in those specific scripts which is triggering a particular unexpected behavior in NT. Error messages in the trace can help isolate that particular offending piece of code.
Leave a comment:
-
Thanks for the suggestion aviat72 - basically the 'NinjaScript generated' code section below the 'Properties' should be present and untouched.
Leave a comment:
-
Bertrand,Originally posted by NinjaTrader_Bertrand View Postaviat72, were the indicators where you see this started with the indicator wizard to generate the underlying code 'grid'?
I am not 100% sure since I use the SaveAs feature a lot. However, at least a few of them started with the Wizard.
What would really help is a slightly more verbose error message (at least in the trace file).
Cheers.
Leave a comment:
-
aviat72, were the indicators where you see this started with the indicator wizard to generate the underlying code 'grid'?
Leave a comment:
-
Missing NinjaTrader Generated Script Section
I am not sure whether I should post here or in NT7. My current experience is with NT7B6 but I think I have seen similar behavior before with NT6.5 since my trace files logs have statements like
"2009-12-26 01:30:40:299 No NS wrappers generated for Indicator !"
Sometimes when I compile an indicator, NT does not generate the wrapper which appears as the "NinjaTrader generated .." section at the end. The indicator compiles correctly and I am able to use the indicator in a chart.
However the offending indicatorit is not accessible to use in other Ninjascript files; Intellisense also does not seem to be showing details of that indicator.
I tried restarting NT but that does not help. I am not sure what I am doing wrong here or how to force NT to recompile and generate the script.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
152 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
89 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
133 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
127 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
107 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Leave a comment: