Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why Indicators not working on the background?

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

    Why Indicators not working on the background?

    Say I have 3 tabs, A,B,C
    I am looking at tab B
    that means tab A and C are in the background

    I just noticed that indicators are not updated in the background.
    this is a problem for indicators that work OnTick or OnPriceChange
    I have to refresh the screen to get the correct plot values

    is there a way to avoid refresh?
    how can I have the indicator work in the background?
    how can I set a refresh like every 30 seconds to work in the background?

    #2
    Hello AaronKoRn,

    Thanks for your post.

    It is likely that the indicators you are referring to use IsSuspendedWhileInactive = true.

    IsSuspendedWhileInactive prevents OnBarUpdate from being raised while the indicators display is not in use. Enabling this property in your indicator helps save CPU cycles while the indicator is suspended and not in use by a user. Once the indicator is in a state that would no longer be considered suspended, the historical OnBarUpdate() events will be triggered allowing the indicator to catch up to current real-time values.

    IsSuspendedWhileInactive would need to be set to false. This property is overridden to "true" automatically by the NinjaScript Code Wizard. You will need to remove the property to return to the default value or manually set it to false to disable this behavior.

    See this help guide page for more information: https://ninjatrader.com/support/help...leinactive.htm

    ​​​​​​​Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      omg my brain just exploded

      Can you please remove it on the next update?

      everybody thinks that indicators work in the background

      every indicator you buy out there has IsSuspendedWhileInactive = true

      please have the NinjaTrader Programmers add IsSuspendedWhileInactive in the property window by default
      so we can override old indicators

      Comment


        #4
        Hello AaronKoRn,

        Thanks for your note.

        The internal tracking number for your feature request is SFT-5400. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request. Note that we cannot guarantee this feature request will be implemented in the next NinjaTrader update.

        When a feature request is implemented, you'll find a description of the new feature in the release notes:Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X