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
Warnings
Collapse
X
-
Also, when I go to remove the condition or action where that variable is being used so I can change it on my inputs/variables screen. It wont let me. Even after a compile. I have to completely exit in order to change my inputs/variables screen. Know what I mean? Its a bug!
-
Hello ezrollin,
Thanks for your post.
The Strategy builder was designed to provide the ability to construct strategies that would not self-generate errors (in the compile process). Changing an input or a user variable once the input or variable has been used in a condition or action will prevent you from being able to change the input variable. The pop-up message is advising what you need to do in order to change that input or variable. So the short answer is no and the reason is to prevent significant errors.
Yes, you do have to take extra steps but these steps are needed to prevent the strategy builder from generating an error. If the strategy builder generates an error then the strategy builder will be prevented from running until the error is corrected. So this creates a circular issue that is prevented by taking the steps needed to remove the use of the input or variable and then you can safely make the changes to the input or variable. We understand this is frustrating but it is far better than the alternative of having to use the Ninjascript editor to then delete the entire strategy in order to access the strategy builder.
You should be able to go through each condition or action where the input/variable is used and remove the entire condition or action (not just the input or variable).
Alternatively, you can create a new variable or input first, then go to the existing conditions or actions and replace the input or variable with the new one. This then allows you to not have to reenter in all of the conditions and actions where the old input/variable is used. You can then go back and simply remove the original input or variable. Here is a short video to demonstrate: https://Paul-ninjaTrader.tinytake.co...NF8xODUwMDk1NA
Paul H.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by traderqz, Today, 12:06 AM
|
2 responses
4 views
0 likes
|
Last Post
by traderqz
Today, 09:17 AM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 08:48 AM | ||
Started by f.saeidi, Today, 08:13 AM
|
1 response
7 views
0 likes
|
Last Post Today, 08:47 AM | ||
Started by DavidHP, Today, 07:56 AM
|
1 response
6 views
0 likes
|
Last Post Today, 08:16 AM | ||
Started by kujista, Today, 06:23 AM
|
3 responses
11 views
0 likes
|
Last Post
by kujista
Today, 08:15 AM
|
Comment