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

Indicator is always running?

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

    Indicator is always running?

    Im trying to debug an indicator Im developing. However, when I attach Visual Studio to process and set a breakpoint on sourcecode, the breakpoint is immediately hit. Like if Indicator was always running in the background, even when no chart windows are open.

    Any Idea?

    #2
    Hi dotnetfreak, here's the sequence we would suggest using for a debug assist via VS - https://www.ninjatrader.com/support/..._debugging.htm

    Can you please ensure all the steps are following in sequence?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand, thanks for your reply. Yes I did thos steps in sequence. My indicator is not attached to any chart and the breakpoint is hit. Like if my indicator was always running on the background

      Comment


        #4
        Additional Info: If I close all charts (before running my indicator once), and try to attach to NT process I get breakpoints hits. But if I close NT and attach I dont get hit. Seems like indicator keeps running in background when chart is closed, maybe Im not uninitializing something I should

        Comment


          #5
          I think I found the problem. I had 2 workspaces opened, and one of them had a chart open. Dumb me!

          Comment


            #6
            No worries, thanks for letting us know.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by AlgoDreamer, Today, 12:39 PM
            2 responses
            8 views
            0 likes
            Last Post AlgoDreamer  
            Started by ninza33, Today, 12:31 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by nleitman, Yesterday, 11:46 AM
            17 responses
            45 views
            0 likes
            Last Post nleitman  
            Started by tradingnasdaqprueba, Today, 03:42 AM
            7 responses
            32 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by kaywai, Today, 11:59 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Working...
            X