Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unintended consequences

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

    Unintended consequences

    Indicator #1
    Creates a list of oscillations, the list is public
    It also triggers some alerts

    Indicator #2
    I access the list from Indicator #1 to draw some lines.

    When indicator #2 is applied and running Indicator #1 generates alerts that no longer exist in the code. i.e. commented out then deleted. Indicator #2 generates no alerts so the only alerts can come from indicator #1 and they only happen when indicator #2 is running.


    I recompiled and removed both indicators and reapplied but for some reason I am still getting these old alerts. I have searched the code on the alert messages and cannot find anything that would be triggered.

    How do I debug this since I cannot find the code that is generating it. Is there a way to trap the alert if so could you supply an example.

    ~J

    #2
    Hello JerryWar,

    Thank you for your post.

    Unfortunately, I am not aware of any way to trap the alert. Do you see/hear alerts when the indicators are removed from the chart?

    May we review the code for these indicators?

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello JerryWar,

      Thank you for your post.

      Unfortunately, I am not aware of any way to trap the alert. Do you see/hear alerts when the indicators are removed from the chart?

      May we review the code for these indicators?

      Patrick

      I found it. It was hidden because I instantiated an instance of a different version so the alert was not directly searchable. Something to thing about for future versions in terms of the search criteria.

      Thanks
      J~

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 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
      548 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X