Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

programming of very basic indicators

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

    #16
    and how do i clear out my indicators?

    Comment


      #17
      my indicator compiles fine but does not play the sound. any suggestions.

      {
      // Condition set 1
      if (CrossAbove(VWMA(14), SMA(50), 1))
      {
      PlaySound(
      @"D:\Applications\Finance\Trader\NT\sounds\EMAup.w av");
      }
      }

      Comment


        #18
        If it compiles I assume you have fixed your conflict issues earlier.

        Sounds will only be played in real-time. Please ensure you are in a real-time environment.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          Originally posted by trader1512 View Post
          my indicator compiles fine but does not play the sound. any suggestions.

          {
          // Condition set 1
          if (CrossAbove(VWMA(14), SMA(50), 1))
          {
          PlaySound(
          @"D:\Applications\Finance\Trader\NT\sounds\EMAup.w av");
          }
          }
          Could i play every kind of sound that i like by this script ?

          Comment


            #20
            .wav files only.
            Josh P.NinjaTrader Customer Service

            Comment


              #21
              yes, i record my own and place them in the sounds directory of NT but you can store them anywhere as long as they are available to the computer running NT.

              Comment


                #22
                Originally posted by NinjaTrader_Josh View Post
                .wav files only.
                Thanks Josh, i try to learn ninjascript..

                Comment


                  #23
                  yes i resolved the conflicts. i had not removed them from the chart before changing. n than ks

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by ScottW, Today, 06:09 PM
                  0 responses
                  1 view
                  0 likes
                  Last Post ScottW
                  by ScottW
                   
                  Started by Board game geek, 10-29-2023, 12:00 PM
                  14 responses
                  244 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by Waxavi, 04-19-2024, 02:10 AM
                  4 responses
                  56 views
                  0 likes
                  Last Post sonia0101  
                  Started by cmtjoancolmenero, Today, 03:58 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post cmtjoancolmenero  
                  Started by Segwin, 05-07-2018, 02:15 PM
                  11 responses
                  1,778 views
                  0 likes
                  Last Post aligator  
                  Working...
                  X