Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

pop-up

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

    pop-up

    Hi

    On a script, it is possible to call this script to send an email
    SendMail("from this email adress", "to this email adress", Instrument.FullName, "blablabla" + Bars.Period.Value.ToString())

    is it possible to call a script to get appear a pop-up with the instrument.FullName, Bars.Period.Value.ToString()... ?

    Thx
    Thomas

    #2
    Hello,

    Thank you for the questions.

    In a script it is possible to send emails, the syntax you have provided would be exactly what is needed to do that. You could place that where you feel you need to send an email in the scripts logic.

    Regarding the second question, are you asking if it is possible to have a popup window with the instruments name and other information? If so, yes this is possible.

    I look forward to being of further assistance.

    Comment


      #3
      Hi Jesse

      Yes this is my question, can you give me the script for the popup window with the instruments name and other information... i don't find it on the guide or the forum.

      Thx a lot.
      Thomas

      Comment


        #4
        Hello,

        Thank you for the reply.

        In general there is not a specific NinjaScript command for a popup, this would just be a C# general item. Also we generally dont suggest using popups as this blocks you from clicking the user interface until you click OK on the message, if that is the action you are seeking you could utilize this information: https://www.dotnetperls.com/messagebox-show

        You could populate the string with any information you wanted such as the Instrument.FullName property.


        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        87 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        106 views
        0 likes
        Last Post CarlTrading  
        Working...
        X