Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Analyzer won't update the plot list for my indicator
Collapse
X
-
Market Analyzer won't update the plot list for my indicator
I have been building an indicator with several plots. I noticed yesterday that Market analyzer has stopped updating the plot list for my indicator. If I add a plot or change a plot name, it doesn't show up on the Market analyzer drop down. (the updates do correctly appear on chart properties) I've tried restarting NT and still the Analyzer shows an old list of plots. However, I've copied all of the indicator code to a new class (call it indicator copy#2) and Market analyzer correctly updates plot names as I change/add/subtract plots. I'm just going forward with my indicator copy#2, but I thought you might want to track down why the Analyzer won't work with indicator copy#1. -
Hello tecmisc1,
Are you removing the indicator column from the Market Analyzer and re-adding this?
If this is showing in the Plots of the Indicator window correctly I would want to examine the indicator to see why this appears differently in the Market Analyzer.
It may be the generated code is not generating correctly.
To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:- Click Tools -> Export -> NinjaScript...
- Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
- Click the 'Export' button
- Enter a unique name for the file 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
-
I've not only deleted and readded the script, but I've opened a brand new Analyzer window and attached the script -- it always displays an old list of plots.
See attached.Attached Files
Comment
-
Hello tecmisc1,
As a heads up, there is no resource dictionary provided for:
NinjaTrader.Custom.Resource.NinjaScriptIndicatorNa meSwing2String
NinjaTrader.Custom.Resource.SwingHigh2Str
NinjaTrader.Custom.Resource.SwingLow2Str
These don't exist on my computer so I had to modify your scripts to get these to import.
As these are strings, likely you don't need to be using a resource dictionary. NinjaTrader uses these for multi-language support. If you are not doing multi-language support, just use a string instead of using a resource from a resource dictionary.
That said, I've tested the HigherLowV2 indicator, and the plots shown in the Market Analyzer appear to match the chart which also appears to match the AddPlot() calls in the script.
Is the list of plots shown in this video different than the plots you are seeing on your end?
(Ignore the errors from the Swing2Strength indicator, these are caused because I had to remove the calls to resources.)
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by traderqz, Today, 12:06 AM
|
8 responses
15 views
0 likes
|
Last Post
by traderqz
Today, 12:51 PM
|
||
Started by SightCareAubetter, Today, 12:50 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 12:50 PM | ||
Started by Mongo, Today, 11:05 AM
|
4 responses
14 views
0 likes
|
Last Post
by Mongo
Today, 12:40 PM
|
||
Started by Skifree, Today, 03:41 AM
|
5 responses
13 views
0 likes
|
Last Post
by Skifree
Today, 12:36 PM
|
||
Started by traderqz, Yesterday, 09:06 AM
|
5 responses
35 views
0 likes
|
Last Post Today, 12:03 PM |
Comment