Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to program an Alert???

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

    How to program an Alert???

    I would like specifics on how to program an audio alert when a certain indicator is painted on the chart. I have tried and the alert sounds but then sounds every second or whatever I put in for rearm. Sounds like a simple thing to do, sound and audio alert when a certain indicator is painted on the chart, not to simple if you don't understand how ninja works.
    Thanks,
    Pinebear

    #2
    Hi pinebear,

    Welcome to NinjaTrader. To play a sound you can try using PlaySound(). If your condition is only evaluated to true once it will only play the sound once, but if your condition keeps triggering then your sound file will keep playing.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I really need the basic s of what and how to program a sound or set up a strategy using the particular indicator action and producing a sound.
      Your reply is above my level of knowledge for ninja programming.
      Doug

      Comment


        #4
        Doug,

        Please see the Help Guide tutorials on making your own custom indicators and custom strategies. Then view the Help Guide on PlaySound() here: http://www.ninjatrader-support.com/H...PlaySound.html

        If you feel it is above your level of programming you can definitely try one of the 3rd party NinjaScript Consultants here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MatthewLesko, Today, 11:13 PM
        0 responses
        3 views
        0 likes
        Last Post MatthewLesko  
        Started by Lance El Camino, Today, 04:14 PM
        1 response
        13 views
        0 likes
        Last Post s.kinra
        by s.kinra
         
        Started by jtrading82, Today, 04:56 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by dmking, Today, 06:00 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by WHICKED, Today, 03:23 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X