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

Sound alert for JBar indicator

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

    Sound alert for JBar indicator

    Can someone please help to add a sound alert to this indicator, would very much be appreciated!!!

    For some reason, I can not attach the indicator file here, but the indicator is located here, at the version 7 indicators... and called the "JBar"

    Thank you!!!

    #2
    Hello Ang33,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    Our support team does not create or edit NinjaScript files for users, however this could be a simple addition to an existing indicator.

    The indicator can be found at the following link: http://www.ninjatrader.com/support/f...d=4&linkid=576

    Are you looking for the alerts for green and/or red dots?

    Comment


      #3
      Yes, Indeed a simple sound alert at the green and red dots

      Comment


        #4
        Hello Ang33,

        Thank you for your response.

        The code would be the following:
        Code:
        			if ( Close[0]   > High[0]-((High[0]-Low[0]  ) * (percent/100)) )
        			{
        				counter++;
        				DrawDot ( "tag"+counter, true, 0, Low[0]-distance, Color.Green );
        				PlaySound(@"Alert1.wav");
        			}
        			else if ( Close[0] < Low[0]+((High[0]-Low[0]  ) * (percent/100)) )
        			{
        				counter++;
        				DrawDot ( "tag"+counter, true, 0, High[0]+distance, Color.Red );
        				PlaySound(@"Alert1.wav");
        			}

        Comment


          #5
          Thank You so very much!!!

          Comment


            #6
            Originally posted by Ang33 View Post
            Thank You so very much!!!

            Hi Ang33, Did you get this sorted? I am asking because I am new to NT7 and know nothing of coding. Would it be possible if I obtained this from you?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by algospoke, Yesterday, 06:40 PM
            2 responses
            18 views
            0 likes
            Last Post algospoke  
            Started by ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            44 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            20 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            180 views
            0 likes
            Last Post jeronymite  
            Working...
            X