• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

not responding when choosing indicators menu

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

    not responding when choosing indicators menu

    My NT7 is going into "not responding" mode when I right click on a chart and pick the indicators menu selection

    I created a brand new chart in an empty workspace and still have the problem. I was in the process of writing a new indicator, and was trying to install it for the first time.

    Deleting _Workspaces.xml did not help.

    I have rebooted my computer, repaired the database, and restarted NT.

    Any Ideas?

    #2
    Hello gartonrd,

    Thank you for your post.

    Please contact me via email at Support AT NinjaTrader DOT com.

    In the message please include a link to this forum thread and a copy of today's trace file. The file is located in the Documents > NinjaTrader 7 > Trace folder. I would need the 'trace.20131104.txt' file.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Problem Solved

      Problem Solved by removing call to subroutine in Initialize() routine.

      Apparently this is not allowed and causes this weird behavior.

      Compiler did not flag this problem.

      Comment


        #4
        Originally posted by gartonrd View Post
        Problem Solved by removing call to subroutine in Initialize() routine.

        Apparently this is not allowed and causes this weird behavior.

        Compiler did not flag this problem.
        Of course the compiler would not complain.

        The help file/documentation is explicit.

        NinjaScript > Language Reference > Data >

        Initialize()



        Definition
        The Initialize() method is called once when starting a strategy. This method can be used to configure indicator and strategy properties.

        For example:



        · Strategies - Call the Add() method to add indicators to charts and to add additional Bars objects to the strategy

        · Indicators - Set configuration properties such as Overlay and PaintPriceMarkers

        · Although this method is called once on the start of an indicator or strategy, there are times that this method is also called (Opening an indicator dialog) when you may not expect it to. FOR ADVANCED PROGRAMMERS, DO NOT USE THIS METHOD TO RUN CUSTOM ROUTINES SUCH AS OPENING FORMS, MAKING EXTERNAL CALLS SUCH AS A LICENSE CHECK. PLEASE USE OnStartUp() FOR THOSE PURPOSES.

        Comment


          #5
          infinite loop

          Well, turns out the routine I was calling contained an infinite loop.

          That explains a lot.

          Comment


            #6
            Originally posted by gartonrd View Post
            Well, turns out the routine I was calling contained an infinite loop.

            That explains a lot.
            OH....LOL

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jleira, Today, 10:26 PM
            0 responses
            2 views
            0 likes
            Last Post jleira
            by jleira
             
            Started by wuileng, Today, 10:14 PM
            0 responses
            3 views
            0 likes
            Last Post wuileng
            by wuileng
             
            Started by mntemel, Today, 09:07 PM
            1 response
            10 views
            0 likes
            Last Post MojoJojo  
            Started by martyn73, Today, 08:22 PM
            0 responses
            9 views
            0 likes
            Last Post martyn73  
            Started by RobertoPaez, Today, 08:13 PM
            0 responses
            4 views
            0 likes
            Last Post RobertoPaez  
            Working...
            X