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

voice alert listening function

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

    voice alert listening function

    Is there a system listener function whereby when a voice alert is generated, the listener can tell my strategy?

    For example, if there's high priority news alert out of UK, i want to buy/sell the mkt. I know currently my news alert actually says the news:

    "FOMC rate announcement".

    The listener would know that the system invoke the voice speak function, and therefore tell my strategy.

    So basically something that tells me the voice speak function was used/invoked.

    #2
    Hi ziggymeister,

    Unfortunately there are not built in NinjaScript methods that can listen for sound playback event. Hopefully some community members can provide direction on how you would capture this event.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Is there an alternative function whereby we know a sound file was used?

      Comment


        #4
        There is not a dedicated or alternate NinjaScript function to monitor for sound playback event.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          is there a function whereby we can trace (any sort of or unique) alert was triggered then?
          that is not voice driven, but simply the trigger for appearing on the alert window..
          Last edited by ziggymeister; 11-09-2011, 01:29 PM.

          Comment


            #6
            Unfortunately there is not a function that can check when alerts are raised either.

            If you can get to the source code that generates the alert, then you can copy and use in a condition for your strategy. If you don't have this, there isn't anything built in to NinjaScript that will allow you to intercept any of the events raised by other indicators/strategies.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              my intention is not to intercept anything.

              is the alert itself recodable, just like coding a strategy?

              can i code an alert into a strategy?

              Comment


                #8
                Hello ziggymeister, if you know the conditions under which the alert is raised then you could for sure custom code this in your strategy as well and then act on those conditions automatically.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Perr0Grande, Today, 08:16 PM
                0 responses
                2 views
                0 likes
                Last Post Perr0Grande  
                Started by elderan, Today, 08:03 PM
                0 responses
                3 views
                0 likes
                Last Post elderan
                by elderan
                 
                Started by algospoke, Today, 06:40 PM
                0 responses
                10 views
                0 likes
                Last Post algospoke  
                Started by maybeimnotrader, Today, 05:46 PM
                0 responses
                9 views
                0 likes
                Last Post maybeimnotrader  
                Started by quantismo, Today, 05:13 PM
                0 responses
                7 views
                0 likes
                Last Post quantismo  
                Working...
                X