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

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

    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.

          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:

            The best futures trading community on the planet: futures trading, market news, trading charts, trading platforms, trading strategies


            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 GussJ, 03-04-2020, 03:11 PM
                  11 responses
                  3,221 views
                  0 likes
                  Last Post xiinteractive  
                  Started by andrewtrades, Today, 04:57 PM
                  1 response
                  10 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by chbruno, Today, 04:10 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post chbruno
                  by chbruno
                   
                  Started by josh18955, 03-25-2023, 11:16 AM
                  6 responses
                  436 views
                  0 likes
                  Last Post Delerium  
                  Started by FAQtrader, Today, 03:35 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post FAQtrader  
                  Working...
                  X