• 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

Bug; Timer; Drifting Event

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

    Bug; Timer; Drifting Event

    Hi..

    I found out that a drifting event (event which you lost the reference and is still functional) will appear no matter what, no matter if you restart the NT, the PC, if you close the charts... nothing..

    So, everytime i restarted the NT, the method of the timer, was being executed. And there was no chart with any indicator attached.

    To solve this you have to go to the editor, find the file, and exclude it from compiling... then you restart the NT.
    Otherwise, for some reason, NT keeps starting the drifting event as soon as you open the platfrom.

    Good luck.
    Last edited by Fernand0; 06-04-2018, 03:47 AM.

    #2
    Hello Fernand0,

    Thank you for your post.

    How did you discover this behavior? Is this seen with the built in BarTimer indicator? Do you have an indicator that reproduces this behavior?

    I look forward to your response.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      I don't remember which Timer i was using.. Forms.. Dispatcher or Timer.... but it was compiled with Dispose() (no errors).. just that... not even a Stop()...

      When I deattach the indicator, the msgs on the output window continued.

      Comment


        #4
        Hello Fernand0,

        Thank you for your response.

        May we test the indicator you were using here?

        You can export your indicator by going to Tools > Export > NinjaScript Add On > Add > select your indicator > OK > Export > name the file 'NTsupport' > Save.

        The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript. Please attach the file to your response.

        I look forward to your response.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Sure, as soon as you help me with the memory/cache issue that makes the Print() crash my NT.

          BTW, i've already deleted the "cache" folder, stills the same.

          Comment


            #6
            Hello Fernand0,

            Thank you for your response.

            Are you referring to a separate Forum thread or ticket?

            Please be as detailed as possible here so we understand what you are looking for.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_PatrickH View Post
              Hello Fernand0,

              Thank you for your response.

              Are you referring to a separate Forum thread or ticket?

              Please be as detailed as possible here so we understand what you are looking for.
              You are helping me in another thread since.. a week ago, for the crashes that i have with Print(). I can't reproduce the code with the bug if I can't use Print().

              I saw the bug because SOMETIMES, the Print() don't crash my NT.

              Comment


                #8
                So you are asking that we resolve the matter at the thread linked below before tackling this thread's topic?
                Patrick H.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_PatrickH View Post
                  So you are asking that we resolve the matter at the thread linked below before tackling this thread's topic?
                  yes please, i sent you an email about that thread 1 hour ago

                  Comment


                    #10
                    Hello Fernand0,

                    Thank you for your response.

                    You need to post here when you are ready to troubleshoot this item.
                    Patrick H.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by bebbus, Today, 04:50 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post bebbus
                    by bebbus
                     
                    Started by signalworks, Today, 01:50 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post signalworks  
                    Started by danitralla, Today, 01:23 AM
                    1 response
                    33 views
                    0 likes
                    Last Post Fantomas  
                    Started by superg3, Today, 12:33 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post superg3
                    by superg3
                     
                    Started by vppzepuq, Yesterday, 11:28 PM
                    0 responses
                    2 views
                    0 likes
                    Last Post vppzepuq  
                    Working...
                    X