• 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 allangl, Today, 10:50 PM
                0 responses
                2 views
                0 likes
                Last Post allangl
                by allangl
                 
                Started by jeffm, Today, 10:47 PM
                0 responses
                1 view
                0 likes
                Last Post jeffm
                by jeffm
                 
                Started by quinton77, Today, 09:59 PM
                0 responses
                3 views
                0 likes
                Last Post quinton77  
                Started by Tradarr, Today, 06:25 PM
                2 responses
                16 views
                0 likes
                Last Post Tradarr
                by Tradarr
                 
                Started by cocopod, Today, 04:47 PM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_JoshG  
                Working...
                X