Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trigger Custom Event

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

    Trigger Custom Event

    Hi
    Quick question to make sure it's best practice. If not, what's the better way to do it?
    Can I trigger multiple events in the same event processor eg
    Code:
            #region TimerEventProcessor
            
            private void TimerEventProcessor(Object myObject, EventArgs myEventArgs)
            {
              TriggerCustomEvent(Flash,0,FlashSpeed);
              TriggerCustomEvent(Play_Sound,0,FlashSpeed);
            }
            
    #endregion
    ​
    I am in the process of revising one of my EcoSystem Indicators and this solves a few issues.
    It works but I would like to know if this is the way I should be coding for NT?
    thanks

    #2
    Hello Mindset,

    Thank you for your post.

    I don't see any issue with triggering multiple events in the same processor, you're using different naming conventions to separate the events which would be the way to go.

    If everything is working as expected I don't have further suggestions.

    Please let us know if you have any further questions.

    Comment


      #3
      Thanks Gaby - I have posted a revised CrossAbove CrossBelow line indicator in the share file section.

      Comment

      Latest Posts

      Collapse

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