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 giulyko00, Today, 12:03 PM
    0 responses
    2 views
    0 likes
    Last Post giulyko00  
    Started by AttiM, 02-14-2024, 05:20 PM
    12 responses
    213 views
    0 likes
    Last Post DrakeiJosh  
    Started by cre8able, 02-11-2023, 05:43 PM
    3 responses
    238 views
    0 likes
    Last Post rhubear
    by rhubear
     
    Started by frslvr, 04-11-2024, 07:26 AM
    8 responses
    117 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    10 responses
    47 views
    0 likes
    Last Post stafe
    by stafe
     
    Working...
    X