Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator compiles but not on list to add to chart
Collapse
X
-
Hello ThatMikey,
I've moved this post to the NinjaTrader Desktop > Indicator Development section of the forums as this is pertaining to a custom developed indicator.
What is the fully qualified namespace the indicator class is in?
May I confirm the class inherits from the Indicator class only and no other classes?
Are there errors appearing on the Log tab of the Control Center when opening the Indicators window from a chart?
If so, what is the full error message?
Does the Name property set in State.SetDefaults match the classname and the filename?Chelsea B.NinjaTrader Customer Service
Comment
-
Hello ThatMikey,
May I test the script?
To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:- Click Tools -> Export -> NinjaScript Add-on...
- Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
- Click the 'Export' button
- Enter the script name in the value for 'File name:'
- Choose a save location -> click Save
- Click OK to clear the export location message
- (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
Once exported, please attach the file as an attachment to your reply.Chelsea B.NinjaTrader Customer Service
Comment
-
-
Hello ThatMikey,
I think you have provided the wrong script.
The script you provided declares 'public class BarAnalyzer : Indicator' on line 25 outside of any namespace. As this is not in the NinjaTrader.NinjaScript.Indicators namespace it isn't going to load as an indicator.
Always create scripts using the NinjaScript Editor and do not modify the namespace or using statements to ensure the structure of the script is using the correct default structure.
You've stated in post # 5 that the script causing the issue is declared in the NinjaTrader.NinjaScript.Indicators namespace.
May I have the script you are actually testing that has the class declared in the NinjaTrader.NinjaScript.Indicators namespace?Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
596 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
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment