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 franciscog21, Today, 05:27 PM
                0 responses
                2 views
                0 likes
                Last Post franciscog21  
                Started by hdge4u, 04-29-2024, 12:23 PM
                5 responses
                28 views
                0 likes
                Last Post MisterTee  
                Started by llanqui, 01-25-2024, 06:15 PM
                9 responses
                64 views
                0 likes
                Last Post MisterTee  
                Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
                16 responses
                65 views
                0 likes
                Last Post tradingnasdaqprueba  
                Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
                55 responses
                5,463 views
                0 likes
                Last Post BartMan
                by BartMan
                 
                Working...
                X