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

Alert with MessageBox

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

    Alert with MessageBox

    Hello.

    Could somebody help me to implement a sound alert with MessageBox showing .
    Let say I have a few windows of the instrument (M1, M5, M15...). When conditions are true, I would like to show message box with sound Alert.
    Message Box will appear only once (or more is user press 'OK' button) and sound signal arrive periodically till current bar closed.
    Also would be great to show MessageBox on the LeftBottom position.

    How is it possible to implement?
    I will appreciate any advice/examples/resources

    Thank you,
    Andriy.
    Last edited by akushyn; 05-12-2012, 10:48 AM.

    #2
    Hello,

    Unfortunately this isn't supported code. However, here is a link to help you get started.

    Hey MX, you are right , thanks a bunch for remembering that ! so folks, to make the popup work please add this : using System.Windows.Forms; to the very first section in the indicator-codes - example here : #region Using declarations using System; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Xml.Serialization; using NinjaTrader.Cbi; using NinjaTrader.Data; using NinjaTrader.Gui.Chart; using System.Windows.Forms; #endregion …
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    5 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Working...
    X