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

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.
              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by pechtri, 06-22-2023, 02:31 AM
              10 responses
              124 views
              0 likes
              Last Post Leeroy_Jenkins  
              Started by judysamnt7, 03-13-2023, 09:11 AM
              4 responses
              59 views
              0 likes
              Last Post DynamicTest  
              Started by ScottWalsh, Yesterday, 06:52 PM
              4 responses
              36 views
              0 likes
              Last Post ScottWalsh  
              Started by olisav57, Yesterday, 07:39 PM
              0 responses
              7 views
              0 likes
              Last Post olisav57  
              Started by trilliantrader, Yesterday, 03:01 PM
              2 responses
              22 views
              0 likes
              Last Post helpwanted  
              Working...
              X