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 sidlercom80, 10-28-2023, 08:49 AM
                  167 responses
                  2,260 views
                  0 likes
                  Last Post jeronymite  
                  Started by warreng86, 11-10-2020, 02:04 PM
                  7 responses
                  1,361 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by Perr0Grande, Today, 08:16 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post Perr0Grande  
                  Started by elderan, Today, 08:03 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post elderan
                  by elderan
                   
                  Started by algospoke, Today, 06:40 PM
                  0 responses
                  10 views
                  0 likes
                  Last Post algospoke  
                  Working...
                  X