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

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.
    JesseNinjaTrader Customer Service

    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.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        19 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        44 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        180 views
        0 likes
        Last Post jeronymite  
        Working...
        X