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
Can't change input parameter. It says it's in use
Collapse
X
-
Can't change input parameter. It says it's in use
I'm trying to edit the FasPeriod, but it says its in use. I'm not using it in any of my charts or anywhere. I can edit the ProfitTarget input, but no the FastPeriod or SlowPeriod. Where would it be in use? Where should I look to remove all uses of these inputs?Tags: None
-
Hello lehula,
Thanks for your post.
In the strategy builder, once you create/define a variable or input and then use it in a condition set you cannot then edit the variable or input unless you first delete or remove the variable or input from the condition(s) and this is what the message is advising. For example, if you created the input as a double and then decided you wanted it to be a bool or an int, if you could change it to a bool or an int it would immediately cause coding errors because the conditions were built based on the input being a double and is now a bool or an int.
It has to be this way to prevent creating unrecoverable errors in the strategy which would then create compile errors which then prevents the strategy from being able to be accessed through the strategy builder. While we understand this makes making changes more difficult it is far better than dealing with the errors such actions would create that you would then need to sort out.Paul H.NinjaTrader Customer Service
-
Hello fatbat,
Thanks for your post.
Yes, that is correct, you cannot edit a variable or input once it is used in a condition without first removing it from a condition.
We have previously created a feature request to change the behavior to allow for editing values without the need to change the conditions. The feature request is identified as SFT-3560, "Strategy Builder to allow modifying default values for variables and user inputs"
We will add a vote for both you and member lehula to this feature request. A feature request does not mean the feature will or will not be implemented and keeps the suggestion in front of program management to review for potential implementation. If implemented, the feature request number would be identified in the release notes of the version it is first released in. The release notes for all versions can be found in the help guide here: https://ninjatrader.com/support/help...ease_notes.htmPaul H.NinjaTrader Customer Service
- Likes 1
Comment
-
-
-
Please add my vote to the change list. This is a major building log jam. Thanks. Love the builder!!!
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by f.saeidi, Today, 12:14 PM
|
4 responses
11 views
0 likes
|
Last Post
by f.saeidi
Today, 01:13 PM
|
||
Started by Russ Moreland, Today, 12:54 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:01 PM | ||
Started by philmg, Today, 12:55 PM
|
1 response
7 views
0 likes
|
Last Post Today, 01:00 PM | ||
Started by TradeForge, 04-19-2024, 02:09 AM
|
2 responses
32 views
0 likes
|
Last Post
by TradeForge
Today, 12:32 PM
|
||
Started by aprilfool, 12-03-2022, 03:01 PM
|
3 responses
329 views
0 likes
|
Last Post Today, 12:31 PM |
Comment