Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert working only when workspace is active

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

    Alert working only when workspace is active

    I am using the Alert method in my code.

    Works fine but It only triggers when the workspace is active.

    If I switch to another workspace without closing the workspace with the indicator containing the Alert, the Alert stops working until I get back to the alert workspace.

    #2
    Hello,

    Thank you for the post.

    This would be expected, you would first need to configure the Alerts window to accept alerts from other workspaces. In the Alerts window, right click and choose properties. In the properties list, look for "Recieve alerts from all active workspaces" and check it.

    If this is an indicator causing the alerts, you would also need to use IsSuspendedWhileInactive = false; in that indicator so it is active while the workspace is suspended.



    I look forward to being fo further assistance.

    Comment


      #3
      Thank you Jesse

      That was an easy fix !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      82 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      43 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      56 views
      0 likes
      Last Post CarlTrading  
      Working...
      X