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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      73 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      313 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      310 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      148 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      111 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X