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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      168 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      322 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      246 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X