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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X