Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

limit email alerts

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

    limit email alerts

    Hi,
    I get lots of mails alerts Because I chose mails alerts for intraday bar signal and not in bar close.
    Is it possible to limit the email alert to have no more than 2 alerts per bar for example?
    Thank's.

    #2
    Hello gravdigaz6,

    Yes, this would be possible but you would need to create the logic for this.

    Declare an integer variable. Have this variable reset to 0 on the first tick of the bar. Where you have the alert / email, add a condition that checks the value of the integer variable being under how many alerts / emails you want. Increment the integer variable each time the alert / email is triggered.
    In your alert call, be sure to set the rearmSeconds to a value above 0, and to a comfortable level.

    http://ninjatrader.com/support/helpG...sic_syntax.htm

    http://ninjatrader.com/support/helpGuides/nt7/alert.htm

    http://ninjatrader.com/support/helpG...7/sendmail.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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