Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.JesseNinjaTrader Customer Service
-
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.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by frankthearm, Today, 09:08 AM
|
7 responses
27 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by NRITV, Today, 01:15 PM
|
1 response
5 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by maybeimnotrader, Yesterday, 05:46 PM
|
5 responses
24 views
0 likes
|
Last Post Today, 01:19 PM | ||
Started by quantismo, Yesterday, 05:13 PM
|
2 responses
16 views
0 likes
|
Last Post
by quantismo
Today, 01:07 PM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
5 responses
33 views
0 likes
|
Last Post Today, 11:29 AM |
Comment