Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SpeakCandlestick indicator

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

    SpeakCandlestick indicator

    I shared an indicator I wrote in Filesharing forum. It speaks various simple candlestick patterns like outside bar, insider bar, hammer and doji etc. I watch multiple timeframes for the same
    instrument. The indicator will attempt to announce the patterns at the same time when the clock is on the hour. For example, if inside bar was formed on 30 and hammer was formed on 60 then
    it will attempt to announce both and you can hear only one of them completely. I'm looking for a way to workaround this. Since the indicator is stateless and calculates the pattern only on bar close I might be able to workaround may be queueing up the announcements and a thread to handle the queue. Anyone think of simpler workaround?
    Last edited by cay7man; 03-10-2022, 09:55 PM.

    #2
    Hi cay7man, thanks for writing in. There is a setting in Tools>Options>General>Sounds> make sure "Play Consecutively" is unchecked. Unfortunately, threading and async/await code goes outside the scope of support we would be able to provide. I found this answer on stack overflow with more info about threading in C#:

    https://stackoverflow.com/questions/...-best-practice (publicly available)

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      TY. Play Consecutively didn't help. Will look into other workarounds/fixes..

      Comment


        #4
        Resolved using serial queue and async tasks. The chart may pause for a second or two while speaking multiple candles on different timeframes. Good enough solution for now.

        Comment


          #5
          Originally posted by cay7man View Post
          Resolved using serial queue and async tasks. The chart may pause for a second or two while speaking multiple candles on different timeframes. Good enough solution for now.
          Has the indicator been updated in "User App Submission" to reflect your resolution ?

          omololu

          Comment


            #6
            Yes, Enjoy! And I didn't notice any delay (see my note above) in live trading. May be it was just an issue with playback connection.

            Suggestions to improve the indicator are welcome.
            Last edited by cay7man; 03-14-2022, 11:55 AM.

            Comment


              #7
              Hi cay7man , when I try to import your zip file (mentioned here) for the indicator I get the following error:

              Do I need to manually copy the "System.Speech.dll" file from somewhere (where exyctly I can find that file?) to the \bin\custom folder and after that import your indicator?
              Attached Files

              Comment


                #8
                Yes, that could work.

                Comment


                  #9
                  How should it be? You reference that dll in your zip file but the dll file itself isn't in the zip file. So should I search for that file on my system and take that to/bin/custom?

                  Comment


                    #10
                    Search your C:\windows drive. You will find

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Segwin, 05-07-2018, 02:15 PM
                    14 responses
                    1,789 views
                    0 likes
                    Last Post aligator  
                    Started by Jimmyk, 01-26-2018, 05:19 AM
                    6 responses
                    838 views
                    0 likes
                    Last Post emuns
                    by emuns
                     
                    Started by jxs_xrj, 01-12-2020, 09:49 AM
                    6 responses
                    3,294 views
                    1 like
                    Last Post jgualdronc  
                    Started by Touch-Ups, Today, 10:36 AM
                    0 responses
                    13 views
                    0 likes
                    Last Post Touch-Ups  
                    Started by geddyisodin, 04-25-2024, 05:20 AM
                    11 responses
                    63 views
                    0 likes
                    Last Post halgo_boulder  
                    Working...
                    X