Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert to NR7

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

    Alert to NR7

    I imported NR7 indicator from file sharing. Now I want to add alert when NR7 bar is formed. Please help me with this. Thanks.

    #2
    You may need to custom code this through the use of the Alert() method. Whenever the indicator decides to have an NR7 also interject in a line for Alert().
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      if (nrbar==0)
      {
      //DrawDot("NR7"+barcounter.ToString(), true, 0, Low[0] - TickSize, Color.Yellow);
      BackColor = nr7color;

      //Print(CurrentBar);
      // Generates an alert
      Alert("myAlert", NinjaTrader.Cbi.Priority.High, "Reached threshold", "Alert1.wav", 10, Color.Black, Color.Yellow);

      }

      The words in green are added to the original NR7 script. Is it correct?

      Comment


        #4
        Looks correct.
        RayNinjaTrader Customer Service

        Comment


          #5
          up

          and for NR4 and inside

          i try to code the GR4 GR7 and outside, but is to complicated for a beginner, could somebody help us?

          thanks

          Comment


            #6
            Hello,

            If you post your code we can give you pointers.
            DenNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Ben View Post
              Hello,

              If you post your code we can give you pointers.
              it is the same nr7, but the bars are 4 and not 7,

              a pretty system is a way to indicarte the day where is possible to se that all 3 condition are true:

              1 nr7 ok
              2 nr4 ok
              3 inside bar ok

              i am not a programmer sorry

              Comment


                #8
                Since you are not a programmer, maybe someone will be kind enought to program what you seek. If not, you can contact a NinjaScript Consultant.

                RayNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by pechtri, 06-22-2023, 02:31 AM
                9 responses
                122 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by frankthearm, 04-18-2024, 09:08 AM
                16 responses
                65 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Started by habeebft, Today, 01:18 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by benmarkal, Today, 12:52 PM
                2 responses
                13 views
                0 likes
                Last Post benmarkal  
                Started by f.saeidi, Today, 01:38 PM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Working...
                X