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

Can anyone help add a .wav file for alerts to this basic indicator

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

    Can anyone help add a .wav file for alerts to this basic indicator

    under indicators you will find a basic multi color SMA and basic multi color EMA

    the colors on the MA's are blue for up and yellow for flat and red for down

    i wanted to have 3 .wav files i could use with this that speak to me one would be trend up, trend flat, and trend down, i can make the .wav files,I just dont know anything about how to program the .wav files into the indicator? Can anyone help?

    Thanks,

    Bigmama
    Last edited by bigmama; 10-21-2009, 11:22 PM.

    #2
    Sound Files

    This should be fairly easy to do. If no one else comes back to you I will look at this later when I have access to my Ninja PC. You have three conditions up, down and flat but you will not want the wave files to sound continously. Do you want the wave files to sound once on a change of direction?

    Comment


      #3
      Thanks MikroAl for offering to help first of all,

      yes you are correct those are the conditions.

      i use these conditions on a 1 minute chart and a 5 minute chart, so with both charts running simultaneously each chart would have those 3 conditions, when the multicolor sma,ema changes color ie up,down,flat. and to only signal once when tirggered on close of bar, now we could have multiple trend changes intraday, but that would be based on my settings in sma and ema which would cause another trigger, so if the market shot up i could hear an up and the next bar could be down, this would of course be based on my indicator settings.

      your time is much appreciated,

      Bigmama




      as

      Comment


        #4
        Adding wav alert to indicator

        Could you please confirm that the indicator you wish me to adapt is the EMA colors indicator in the indicator filesharing section of the forum

        I do not wish to waste time amending the wrong indicator!

        Comment


          #5
          Thanks, here is the SMA file i would like to use

          much appreciated,

          Bigmama
          Attached Files

          Comment


            #6
            Adding wav alert to indicator

            Thanks

            Hopefully looking at the code should be quite simple

            Hope to do it Monday/Tuesday as want to run it live to see if it works

            Comment


              #7
              Adding wav alert to indicator

              Been working on this, just one further question

              I understand that you will be only be updating on close of bar, which will solve the problem of continuous alerts. Now if the previous alert is an up and the next alert is an up etc do you wish this alert to be supressed? Ie do you wish the indicator to only fire on a change in direction?

              Comment


                #8
                Adding wav alert to indicator

                The attached indicator will fire a sound alert at the end of each bar regardless of direction. You will need to adjust the code as indicated in the file so that your own sound file is selected. (Just rename the wave file at the points indicated) The sound files should be placed in your ninja trader sounds directory.

                If you wish the sound alerts to be supressed unless a change in direction
                as discussed below, I will have to think a little harder on how to do this as the switching logic is a little complicated. However in the meantime you have the attached file to play around with.

                Enjoy!
                Attached Files
                Last edited by MicroAl; 10-29-2009, 10:19 AM.

                Comment


                  #9
                  Thank you very much MicroAl! this is great!

                  Comment


                    #10
                    Adding wav alert to indicator

                    No Problem I've taken so much from this forum over the last couple of years It's nice to be able to give something back!

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by DJ888, 04-16-2024, 06:09 PM
                    6 responses
                    18 views
                    0 likes
                    Last Post DJ888
                    by DJ888
                     
                    Started by Jon17, Today, 04:33 PM
                    0 responses
                    1 view
                    0 likes
                    Last Post Jon17
                    by Jon17
                     
                    Started by Javierw.ok, Today, 04:12 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post Javierw.ok  
                    Started by timmbbo, Today, 08:59 AM
                    2 responses
                    10 views
                    0 likes
                    Last Post bltdavid  
                    Started by alifarahani, Today, 09:40 AM
                    6 responses
                    41 views
                    0 likes
                    Last Post alifarahani  
                    Working...
                    X