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 Christopher_R, Today, 12:29 AM
    0 responses
    6 views
    0 likes
    Last Post Christopher_R  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    166 responses
    2,235 views
    0 likes
    Last Post sidlercom80  
    Started by thread, Yesterday, 11:58 PM
    0 responses
    3 views
    0 likes
    Last Post thread
    by thread
     
    Started by jclose, Yesterday, 09:37 PM
    0 responses
    7 views
    0 likes
    Last Post jclose
    by jclose
     
    Started by WeyldFalcon, 08-07-2020, 06:13 AM
    10 responses
    1,415 views
    0 likes
    Last Post Traderontheroad  
    Working...
    X