Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

price alert

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

    price alert

    I already have a code that give me audio and visual alerts when a certain event happens. Where would I place the SendMail(string from, string to, string subject, string text)
    for my email alerts?

    #2
    Hello,

    Thank you for the question.

    If you are trying to make the email every time the visual or audio alert happens, in general it would go where you have your condition that is controlling your audio and visual alerts.

    If you are looking at your code you should see your condition that is already set up to control your other forms of alerts, you would most likely just need to add an additional line right after those statements for the SendMail.

    If you are unsure please post the condition you are using and I could post an example.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    2 responses
    18 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,276 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    5 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X