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 MidenThur, Today, 12:52 AM
        0 responses
        3 views
        0 likes
        Last Post MidenThur  
        Started by seseoraf, Today, 12:51 AM
        1 response
        5 views
        0 likes
        Last Post charmingishagarg  
        Started by Rosario, Today, 12:50 AM
        0 responses
        3 views
        0 likes
        Last Post Rosario
        by Rosario
         
        Started by kemoyums, Today, 12:38 AM
        0 responses
        2 views
        0 likes
        Last Post kemoyums  
        Started by MartynBashi, Yesterday, 11:01 PM
        0 responses
        4 views
        0 likes
        Last Post MartynBashi  
        Working...
        X