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 traderqz, Yesterday, 04:32 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by f.saeidi, Today, 05:56 AM
        1 response
        4 views
        0 likes
        Last Post Jltarrau  
        Started by Jltarrau, Today, 05:57 AM
        0 responses
        4 views
        0 likes
        Last Post Jltarrau  
        Started by Stanfillirenfro, Yesterday, 09:19 AM
        7 responses
        51 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by TraderCro, 04-12-2024, 11:36 AM
        4 responses
        71 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X