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 merzo, 06-25-2023, 02:19 AM
                  10 responses
                  823 views
                  1 like
                  Last Post NinjaTrader_ChristopherJ  
                  Started by frankthearm, Today, 09:08 AM
                  5 responses
                  15 views
                  0 likes
                  Last Post NinjaTrader_Clayton  
                  Started by jeronymite, 04-12-2024, 04:26 PM
                  3 responses
                  43 views
                  0 likes
                  Last Post jeronymite  
                  Started by yertle, Today, 08:38 AM
                  5 responses
                  16 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by adeelshahzad, Today, 03:54 AM
                  3 responses
                  19 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Working...
                  X