• 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

Outside Bar

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

    Outside Bar

    I would like a Ninja 7 indicator that identifies an outside bar at a glance. I would like it to paint an up arrow below the bar, if price first took out the low of the previous bar and then the high. And a down arrow above the bar, if price first took out the high of the previous bar and then the low. I know nothing about building indicators and I would really appreciate help with this. Thank you. Randy

    Also, an audible alert where I can choose the alert message. I do not want to wait until the bar closes.
    Last edited by ussdotsons; 02-01-2015, 01:45 PM.

    #2
    Hello ussdotsons,

    Thank you for your post.

    Are you looking for someone to create this indicator for you?
    We do not provide programming services, but one of our Support Forum members may be able to create this for you.

    The conditions would be simple enough to create. You would compare the Open against the Low of the previous bar and the Close against the High of the previous bar, then use DrawArrowUp(). The opposite for the down bar. For Example:
    Code:
    			if(Open[0] < Low[1]
    				&& Close[0] > High[1])
    			{
    				DrawArrowUp("up"+CurrentBar, 0, Low[0] - (2*TickSize), Color.Green);
    			}
    			if(Open[0] > High[1]
    				&& Close[0] < Low[1])
    			{
    				DrawArrowDown("down"+CurrentBar, 0, High[0] + (2*TickSize), Color.Red);
    			}
    For the alert message you will need to create a user defined variable STRING to pass to the Alert() method.
    Alert: http://www.ninjatrader.com/support/h.../nt7/alert.htm
    User Defined Variable: http://www.ninjatrader.com/support/f...ead.php?t=5782
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thank you Patrick. Yes, I am looking for someone to create this indicator. Although you make it sound simple, I have no idea what you are talking about....lol.

      Comment


        #4
        Also, it looks like what you have posted requires an open above/below the range of the previous bar and a close below/above the range of the previous bar. I actually do not care where it opens or closes. I am looking to find bars that break one side of the previous bar's range and then turn around and break the other end of the previous bar's range. And I would like an alert as soon as the other end of the range is touched.

        Comment


          #5
          Hello ussdotsons,

          We do not provide programming services, but one of our Support Forum members may be able to create this for you.
          Patrick H.NinjaTrader Customer Service

          Comment


            #6
            I have coded an indicator, which allows you to identify

            - inside bars
            - double inside bars
            - narrow range bars
            - outside bars
            - wide range bars
            - three bar triangles

            The different conditions can be displayed via paintbars, diamonds or text. The indicator uses the terminology introduced by Toby Crabel. For example

            IB4 = an inside bar, which has the narrowest range of the last 4 bars (or which is narrower than the 3 prior bars)
            NR7 = an narrow range bar with a range that is the narrowest bar of the last 7 bars
            OB7 = an outside bar, which has the widest range of the last 7 bars
            DI3 = a double inside bar, which has the narrowest range of the last 3 bars

            IB2 would be a standard inside bar, OB2 a standard outside bar.

            Chart attached. The indicator is available here open source:

            https://www.bigmiketrading.com/downl...load.html?view

            If you are not an elite member of Big Mike's send me a private message with your e-mail, and I will send you the indicator.
            Attached Files

            Comment


              #7
              Hi Harry,

              The OB2/OB7 are very close to what I need. I can make good use of them and I thank you for your reply.

              Once again, thanx so much.
              Randy
              Last edited by ussdotsons; 02-02-2015, 09:29 AM.

              Comment


                #8
                You should not post your e-mail in this thread, unless you wish to receive tons of unsolicited messages. Please delete your e-mail by editing your post below.

                Comment


                  #9
                  Done and thanx.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by johnnybegoode, Today, 11:35 AM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_ChrisL  
                  Started by NickyD, Today, 09:07 AM
                  3 responses
                  14 views
                  0 likes
                  Last Post NickyD
                  by NickyD
                   
                  Started by 7robert, Today, 06:46 AM
                  3 responses
                  62 views
                  0 likes
                  Last Post NinjaTrader_ChrisL  
                  Started by ElMagoR, Today, 07:49 AM
                  4 responses
                  31 views
                  0 likes
                  Last Post NinjaTrader_ChrisL  
                  Started by Nabil, 09-13-2019, 11:44 AM
                  5 responses
                  35 views
                  0 likes
                  Last Post Nabil
                  by Nabil
                   
                  Working...
                  X