Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Warnings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Warnings

    Click image for larger version

Name:	Untitled.png
Views:	208
Size:	48.7 KB
ID:	1180119
    Can we PLEASE get rid of this?
    It doesnt caution me, I already know I'm messing with other parts of the strategy.
    It just gets in the way and makes me have to take a lot more extra steps. Thanks!

    #2
    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!

    Comment


      #3
      I have to make a new variable and change it to the new one in order to unlock this warning message, in order to go back and change the original variable. Even exiting the whole program wont work!
      Last edited by ezrollin; 12-01-2021, 01:02 AM.

      Comment


        #4
        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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        56 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        132 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        73 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X