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!
See more
See less

Partner 728x90

Collapse

How do you remove an Input?

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

    How do you remove an Input?

    Hi
    I posted this a while ago here .
    In attempting to revise it I have come up against an issue I don't know how to resolve.
    The dec variable (Decimal Input) is no longer required but if I delete it from the properties region it gives a pile of errors in the ninja generated script section which I completely fail to understand at the moment.

    I have got round the issue by converting it to internal rather than public so that at least it compiles and runs and the decimal input doesn't display in the parameters box. However I am only halfway through my C# for dummies book!

    Here is the revised indicator which once I have this issue resolved I will post in the share forum.

    BTW is it possible to simply update the existing indicator with a new zip file or do I have to delete and repost this one?
    Attached Files

    #2
    You should be able to press the Edit button and make the changes to the file attachment. To remove a user input you need to remove all calls to that input as well. Anything you added to create that input you need to remove and then it will work. If you reference this indicator in your other scripts, changing the input will influence the other scripts because they use to use that input so you need to change all of those as well.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Well that was easier than I thought!

      ok - now posted here

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,281 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      19 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Tim-c, Today, 02:10 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Taddypole, Today, 02:47 PM
      0 responses
      5 views
      0 likes
      Last Post Taddypole  
      Started by chbruno, 04-24-2024, 04:10 PM
      4 responses
      53 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Working...
      X