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 elirion, Today, 09:32 PM
                    0 responses
                    3 views
                    0 likes
                    Last Post elirion
                    by elirion
                     
                    Started by cre8able, Today, 09:15 PM
                    1 response
                    7 views
                    0 likes
                    Last Post bltdavid  
                    Started by cummish, Today, 08:43 PM
                    0 responses
                    12 views
                    0 likes
                    Last Post cummish
                    by cummish
                     
                    Started by Option Whisperer, Today, 07:58 PM
                    4 responses
                    21 views
                    0 likes
                    Last Post Option Whisperer  
                    Started by ETFVoyageur, 05-07-2024, 07:05 PM
                    13 responses
                    87 views
                    0 likes
                    Last Post ETFVoyageur  
                    Working...
                    X