Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Will audio work for data feed providers(CQG)

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

    Will audio work for data feed providers(CQG)

    I having audio part in my indicator.
    But when I connect to data feed providers(CQG), why the audio part cannot work.

    Can i know why ??

    #2
    Hello Nick123,

    Yes audio should work, What audio are you referring to, is that PlaySound or one of the default sounds configured in the options menu?

    If this is an audio you are playing yourself, are you using a Print or some means to know the condition to play the audio was true?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Alert("Down Alert " + CurrentBar, Priority.High, "Down Alert at Bar " + CurrentBar, SoundFile, 10, Brushes.Black, Brushes.Yellow);

      Sound folder is a path,
      ** It was correct one, dont worry about that.

      Just curious when connect to data feed providers(CQG), then it cannot work already,

      any idea about it ??

      Comment


        #4
        Hello Nick123,

        From the given detail I couldn't say what may be wrong. I would likely suggest making a test script that uses hard coded variables like the help guide sample and then test that.

        Code:
        Alert("myAlert", Priority.High, "Reached threshold", NinjaTrader.Core.Globals.InstallDir+@"\sounds\Alert1.wav", 10, Brushes.Black, Brushes.Yellow);
        You could try placing this in OnBarUpdate with no conditions on a 10 second chart to make sure that works. If it does not we could further review the situation. You can otherwise try adding Prints around the alert to make sure your script is reaching that point in logic.




        I look forward to being of further assistance.

        JesseNinjaTrader Customer Service

        Comment


          #5
          I have made sure it reach that point as i have a draw arrow in that condition together with the audio.

          Comment


            #6
            Code:
            if (condition)
            {
            Draw arrow here
            Alert("Down Alert " + CurrentBar, Priority.High, "Down Alert at Bar " + CurrentBar, SoundFile, 10, Brushes.Black, Brushes.Yellow);
            }
            The arrow show in the right place, just the audio part didnt work.

            Comment


              #7
              Hello soon123,

              Thanks for that detail.

              Did you also try the sample from the help guide with a default sound or a test script on a 10 second chart to check if this somehow relates to your alert syntax?


              Please let me know if I may be of further assistance.
              JesseNinjaTrader Customer Service

              Comment


                #8
                It's likely that your audio functionality is not working with your CQG data feed because CQG, as a data feed provider, focuses solely on delivering market data. They do not typically support or enable audio features within their platform or data feeds.

                Here are some potential reasons why audio might not be supported and possible workarounds:
                • Data Feed Focus: CQG primarily provides real-time and historical market data, including price quotes, charts, and other financial information. Their platform is optimized for data delivery and analysis, not for features like audio alerts or signals.
                • Platform Restrictions: The CQG trading platform or the API you're using might have restrictions that prevent custom audio from being integrated. This could be due to security concerns, performance considerations, or simply because audio features are not a priority for their platform.
                • Resource Limitations: Audio processing can consume system resources, potentially impacting the performance of the trading platform, especially when dealing with high-frequency data feeds. CQG might intentionally limit such features to ensure optimal performance for its core functionality.

                Possible Workarounds:
                • External Audio Solutions: Consider using a separate audio alert system or software that can monitor your CQG data feed and trigger audio alerts based on specific conditions or events. You could potentially set up rules or triggers that monitor your indicator's output and generate audio signals accordingly.
                • Platform Integrations: Explore if CQG offers any integrations with third-party platforms or tools that support audio alerts. Some platforms might allow you to connect your CQG data and utilize their audio features.
                • Custom Development: If you have the technical expertise or resources, you could potentially develop a custom solution that integrates with the CQG API and incorporates your desired audio functionality. However, this would require a deeper understanding of the CQG platform and its limitations.

                Recommendations:
                • Check CQG Documentation: Review the CQG platform documentation or contact their support to confirm if audio features are supported or if there are any recommended approaches for implementing audio alerts.
                • Explore Alternative Solutions: If CQG does not natively support audio, research alternative data feed providers or trading platforms that offer the desired audio functionality.
                • Consider Visual Alerts: If audio is not feasible, explore alternative alert mechanisms within the CQG platform, such as visual alerts, pop-up notifications, or email alerts.

                By carefully considering these factors and exploring potential workarounds, you can find a solution that best meets your needs for integrating audio with your CQG data feed.
                Last edited by TyraNoah; 02-22-2025, 04:14 AM.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by iantriestrading, Yesterday, 10:56 PM
                3 responses
                12 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by brucerobinson, 03-24-2025, 07:08 AM
                9 responses
                116 views
                0 likes
                Last Post backtester831  
                Started by surya, 03-14-2025, 10:16 AM
                5 responses
                51 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Started by thafuz, Today, 06:17 AM
                2 responses
                7 views
                0 likes
                Last Post NinjaTrader_LuisH  
                Started by Board game geek, 10-04-2023, 08:27 AM
                13 responses
                1,107 views
                0 likes
                Last Post backtester831  
                Working...
                X