Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MultiChoice parameter not set
Collapse
X
-
MultiChoice parameter not set
could someone help me debug the attached parameter not getting properly set (see Output window)Tags: None
-
Hello,
Thank you for the question.
I wanted to clarify what the end goal is here, would this be to only print the correct value in OnBarUpdate, or also to change the values in the Properties panel when the user selects the different enum?
If this is simply the print in OnBarUpdate, this is caused because your call to getMultiChoiceParms(); is in Initialize.
Initialize is only called when the script starts and when you open the indicators menu. You would need to move this into OnBarUpdate before your print statement and you would see the correct prints.
If you need this to update in the properties as well please let me know.
I look forward to being of further assistance.
-
ok thanks an updates the values in properties panel.
Out of interest saving I think the template and workspace saving under Win8 may have bugs although haven't investigated fully.
Comment
-
Hello,
Thank you for the reply.
Is there a reason you think there is a problem with the workspace/template saving in windows 8? There are currently no known issues related to this, the main issues that come up in workspaces /templates related to scripting would be serialization errors that are related to how the script was coded.
If you can provide an example of what you are talking about I could look into the reason.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
577 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment