• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert Parameters

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

    Alert Parameters

    Hi guys.

    I'm trying to add alert functionality to my indicator.
    In this endeavor, I became aware of my Ninja Script ignorance.

    Can you provide Web reference, or code example of indicator
    which has email and sound file, selectable from its parameter section.

    Mario

    #2
    Welcome to our forums here Mario, while I would not be aware of a completed reference in this regard you would want to work with the SendMail and Alert methods in NinjaScript, the per default with NT shipped PriceAlert indicator would be good to check into as well.

    http://www.ninjatrader.com/support/h...7/sendmail.htm

    http://www.ninjatrader.com/support/h.../nt7/alert.htm

    For the actual email and sound files to be used you could start by implementing a user input of type string for example for those, which allows for entering of desired values via the UI.

    http://www.ninjatrader.com/support/f...ead.php?t=5782

    A more advanced C# technique to create a dynamic listbox for your parameters would be discussed here to work via a TypeConverter - http://www.ninjatrader.com/support/f...ad.php?t=51854
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by BatBart, Today, 01:24 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by ezrakoper, Today, 03:05 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by asmmbillah, Today, 02:23 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by steveg, Today, 02:44 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by lightsun47, Today, 12:33 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X