• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scalper_Rt

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

    Scalper_Rt

    Can Some body come forward and add alert sound file exactly when indicator plot arrow.
    Thanks.
    Attached Files

    #2
    Hi alfa123,

    You can add alerts to this indicator by adding the Alert() call one line below anywhere where DrawArrowDown() or DrawArrowUp() is called.

    For example on line 130 I have found the following line:
    DrawArrowDown(CurrentBar.ToString(), true, 0, High[0] + TickSize, Color.Yellow);

    Below this (before the closing curly brace "}") add a new line:
    Alert("myAlert", NinjaTrader.Cbi.Priority.High, "Down arrow drawn", "Alert4.wav", 1, Color.Black, Color.Yellow);

    Do this also after line 168 where the up arrow is drawn.

    Below is a link to the help guide on Alert.
    http://www.ninjatrader.com/support/h.../nt7/alert.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Its create an automated strategy to this indicator, the wizard mode?

      Comment


        #4
        Thanks,i did and compiled succesfully,let see the results in live market.i will post here my results.Again thanks and a Hug,,,Happy hollidays.

        Comment


          #5
          its not easy to convert an indicator to a strategy,need very good or atleast good knowledg of programming skills.

          Comment


            #6
            Hello snakepatob,

            Thank you for your post.
            Originally posted by snakepatob View Post
            Its create an automated strategy to this indicator, the wizard mode?
            Can you expand upon your inquiry further?
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Thanks again,its working fine in live market.

              Comment


                #8
                PatrickH.,
                thanks for the interest.
                The colleague alfa123 already answered.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by linacesaro, Today, 09:17 PM
                0 responses
                3 views
                0 likes
                Last Post linacesaro  
                Started by n8dogg59, Today, 06:55 AM
                2 responses
                17 views
                0 likes
                Last Post n8dogg59  
                Started by pstrusi, Today, 03:29 PM
                2 responses
                10 views
                0 likes
                Last Post pstrusi
                by pstrusi
                 
                Started by ntbone, Today, 03:06 PM
                0 responses
                4 views
                0 likes
                Last Post ntbone
                by ntbone
                 
                Started by AMATX, Today, 01:43 PM
                2 responses
                9 views
                0 likes
                Last Post AMATX
                by AMATX
                 
                Working...
                X