Also, sometimes closing and restarting NinjaTrader is the ticket.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Pro Tip: Sometimes removing and re-adding an Indicator will fix your problem
Collapse
X
-
Pro Tip: Sometimes removing and re-adding an Indicator will fix your problem
Things sometimes get goofy in the charts. If you've been making a lot of changes to your indicator or strategy and are experiencing a problem you just cant' figure out, I've found multiple times that removing the script from the chart and re-adding it fixes the problem. Sometimes you even need to re-create the chart.
Also, sometimes closing and restarting NinjaTrader is the ticket.Last edited by gbourque; 01-19-2024, 03:24 PM.Tags: None
-
Testing out your NinjaScript code changes, eh?Originally posted by gbourque View PostThings sometimes get goofy in the charts. If you've been making a lot of changes to your indicator or strategy and are experiencing a problem you just cant' figure out, I've found multiple times that removing the script from the chart and re-adding it fixes the problem. Sometimes you even need to re-create the chart.
If a simple right-click and 'Reload NinjaScript' doesn't
seem to bring in your changes, then, yeah, you may
need to remove/add the indicator -- esp if you've
added/deleted plots or other property grid items.
In the worst case, you may need to delete the chart
and/or start with a new chart.
In the truly worst case, you may need to completely
restart NinjaTrader.
-=o=-
For Strategies, I always remove/delete them, or I
just start a new Strategy Analyzer window, which is
where I do all of my test runs for exercising my new
code changes.
The Strategy Analyzer window doubles as a great
sandbox/testbed environment, since you can rerun
your strategy on the same historical dataset as much
as needed to find/isolate/fix problems -- the SA window
can feed you the same historical data repeatedly,
which means you can consistently reproduce most
any problem at will.
Just my 2˘.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
56 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
133 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment