Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Error on indicator can not save workspace
Collapse
X
-
Ok I figured what the issue is but I don't know how to solve this
I have 1 indicator getting information from another indicator
public Series<int> SeriesIMySeries;
The issue is this.
If I have the Series private my other indicator can not access the Series.
If I have the Series public the indicator works but if I save workspace I get this error.
There was an error reflecting type in NinjaTrader.NinjaScript.Indicators.MyIndicator.
-
Hello ballboy11,
Thank you for your notes.
A Plot is a public series. ArePlotsConfigurable controls if plots can be configured in the indicator dialog and would not be set individually.
Please note Plots are ONLY visible from the UI property grid when AddPlot() is called from State.SetDefaults. If your indicator or strategy dynamically adds plots during State.Configure, you will NOT have an opportunity to select the plot or to set the plot configuration via the UI.
You could use AddPlot() within State.Configured and make that plot transparent using Brushes.Transparent. This would hide it from the UI, the Data Box, and the Chart.
Here is a Help Guide link about how AddPlot may be used - https://ninjatrader.com/support/help...8/?addplot.htm
Or, you could refer to the following example that demonstrates making a public Series<bool> to have your indicator calculate non-plotted values that you may want to access when using this indicator inside of another indicator or strategy - https://ninjatrader.com/support/help...alues_that.htm
Please let us know if we may further assist.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
602 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
347 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
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
559 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment