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 frslvr, 04-11-2024, 07:26 AM
            9 responses
            123 views
            1 like
            Last Post caryc123  
            Started by rocketman7, Today, 09:41 AM
            4 responses
            16 views
            0 likes
            Last Post rocketman7  
            Started by selu72, Today, 02:01 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Zachary  
            Started by WHICKED, Today, 02:02 PM
            2 responses
            16 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by f.saeidi, Today, 12:14 PM
            8 responses
            21 views
            0 likes
            Last Post f.saeidi  
            Working...
            X