Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Success a strange thing: He has changed the some variable

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

    Success a strange thing: He has changed the some variable

    I noticed a strange thing ..
    I replaced the enum type in the strategy with another enum type and When I filled out (after having made ​​mistakes), it replaced the indicator called with some of its parameters(in the strategy)
    Is possibile or can I have memory problems?
    Last edited by esignal; 01-20-2014, 02:06 PM.

    #2
    Hello,

    I might need some more clarity on what you're trying to achieve. When you create an Enum for use within an Indicator you are able to access it from other scripts.

    When you call an indicator from a strategy this will create an instance of the indicator that the strategy can then reference. You can do this with Enums too.

    Let me know how I can further assist.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Basically changing the reference to the enum (ex: replace enum Name1 with Enum Name2) it changed the name and parameters of the indicator that I have discussed in strategy ...
      I can not mention the example of leaving because I changed the variables ...
      i ask you if is 'possible that during compilation it change some variable or parameter

      Comment


        #4
        Compiling a script won't change the name of your custom variables. If you'd like me to look at an error do you have a sample script that replicates the issue?
        LanceNinjaTrader Customer Service

        Comment


          #5
          i don't have a sample script that replicates the issue... but if it remake the mistake i will write it

          Thanks you..

          Comment


            #6
            Originally posted by esignal View Post
            I noticed a strange thing ..
            I replaced the enum type in the strategy with another enum type and When I filled out (after having made ​​mistakes), it replaced the indicator called with some of its parameters(in the strategy)
            Is possibile or can I have memory problems?
            That is what microsoft's editor does and its darn good feature

            ... whenever i have serious logic changes to do, I open the Ninja's cs file in Microsoft editor to do my editing and get ninja to compile it again ...

            what ninja lacks is ability to detect that file was changed from another editor and provide option to reload.
            Last edited by cdjindia; 01-21-2014, 01:11 AM.

            Comment


              #7
              Originally posted by cdjindia View Post
              That is what microsoft's editor does and its darn good feature

              ... whenever i have serious logic changes to do, I open the Ninja's cs file in Microsoft editor to do my editing and get ninja to compile it again ...

              what ninja lacks is ability to detect that file was changed from another editor and provide option to reload.
              Thanks for sharing your input here, this is an item on our current feedback tracking lists - I will make sure to count your vote in, too.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              633 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              364 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              567 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              568 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X