Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Name not show up on indicator list (compiled OK)
Collapse
X
-
Hello nkhoi,
Thanks for your post.
When a Ninjascript does not perform as expected please check the "log" tab for any related error messages.
It is likely that the indicator is being prevented from being loaded due to an error in the OnStateChange() method and is being removed from the indicators list to prevent further potential issues.
-
there is nothing on log tab after each compilingOriginally posted by NinjaTrader_PaulH View PostHello nkhoi,
Thanks for your post.
When a Ninjascript does not perform as expected please check the "log" tab for any related error messages.
It is likely that the indicator is being prevented from being loaded due to an error in the OnStateChange() method and is being removed from the indicators list to prevent further potential issues.
Comment
-
Hello nkhoi,
Thanks for your reply.
I am not suggesting a compilation error as compilation errors would not show in the log tab, only in the Ninjascript editor window. A log tab type error would be generated from a "run time" type error where the previously compiled strategy is loaded/used/applied. Do you see any log errors when adding an (any) indicator to a chart?
Comment
-
Hello nkhoi,
Thanks for your reply.
You will need to debug your indicator named "Index" to determine what object has not been created when trying to access it.
Please see our debug tips here: https://ninjatrader.com/support/help...script_cod.htm
Taking a quick look at the code, it appears that you are trying to dynamically add data series which is not recommended in NinjaTrader 8. Please see the warning notes: https://ninjatrader.com/support/help...dataseries.htm There could be other issues but this was the first one observed.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
550 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment