Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Initial Balance / Opening Range with extensions

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

    Initial Balance / Opening Range with extensions

    Hi y'all, I was looking for a simple Initial Balance indicator that could display custom extensions, and since I couldn't find one in the ecosystem, I ended up writing one. This here is a very simple IB / OR indicator.​​​​
    • Configurable start/end time (smallest granularity is minutes, meaning, lowest timeframe is one minute, if using for Opening Range).
      • Defaults to one hour (9:30AM to 10:30AM local time). This is configurable. All times are local.
    • Displays current IB range and historical median range once IB is complete.
    • Optionally draw up to three customizable IB extensions (defaults are 1.5x, 2x and 3x of the IB).
    https://ninjatraderecosystem.com/user-app-share-download/initial-balance-extensions/


    Screenshots

    Click image for larger version  Name:	ibx_params.png Views:	0 Size:	30.8 KB ID:	1227469
    Click image for larger version  Name:	ibx.png Views:	0 Size:	44.5 KB ID:	1227470

    ​​
    Last edited by gemify; 12-14-2022, 11:03 AM.

    #2
    Hey, I am new and I found your script to be wonderful. Thank you.

    Last edited by JusticeKing; 12-18-2022, 11:42 AM.

    Comment


      #3
      Is there a way to add IB Mid with horizontal line across chart.

      Comment


        #4
        I am currently using this one. Not sure where I got it. but I am not good at programing. Just needed help with adding the mid.
        Attached Files

        Comment


          #5
          I'm downloaded this indicator and it's working well but I'm trying to write a strategy based around it and it's not showing up under indicators in the strategy builder. Can anyone help?

          Comment


            #6
            I am trying to update the version on the ecosystem, but I'm not sure why NT support hasn't approved my ecosystem update request just yet.

            Regardless, just fyi.. there's an updated version at: https://github.com/OrderFlowTools/In...lance/releases

            The new version has Opening Range (30 seconds) as well as a Session Mid.


            Click image for larger version  Name:	ib_or_sessmid.png Views:	0 Size:	15.5 KB ID:	1233169
            Last edited by gemify; 01-29-2023, 04:19 PM.

            Comment


              #7
              Tyler803, try the updated version - the following plot values should be now available:
              • IBL
              • IBH
              • IBMid
              • SessionMid
              • ORH
              • ORL
              Click image for larger version

Name:	image.png
Views:	2753
Size:	36.1 KB
ID:	1233172

              Comment


                #8
                Is there a compatible one with NT8? Not sure if there was an update but its not working for me


                Click image for larger version

Name:	image.png
Views:	2578
Size:	7.2 KB
ID:	1235002

                Comment


                  #9
                  Originally posted by gemify View Post
                  Hi y'all, I was looking for a simple Initial Balance indicator that could display custom extensions, and since I couldn't find one in the ecosystem, I ended up writing one. This here is a very simple IB / OR indicator.​​​​
                  • Configurable start/end time (smallest granularity is minutes, meaning, lowest timeframe is one minute, if using for Opening Range).
                    • Defaults to one hour (9:30AM to 10:30AM local time). This is configurable. All times are local.
                  • Displays current IB range and historical median range once IB is complete.
                  • Optionally draw up to three customizable IB extensions (defaults are 1.5x, 2x and 3x of the IB).
                  https://ninjatraderecosystem.com/user-app-share-download/initial-balance-extensions/

                  ​​
                  Hello gemify,

                  Through the years an existing approach for drawing extension has been based on the initial opening range bar direction. I have been using this approach for many years with great ability to provide excellent intraday S/R Fib levels on a 5-min opening range chart.

                  In this approach, all Fib extentions are drawn based on either the High or the Low of the IB Price Bar using the following conditions:

                  1. If the Close of the IB Price Bar > Open, all Fib levels start at the High of the Price Bar (IB Range* Fib level)

                  2. If the Close of the IB Price Bar < Open, all Fib levels start at the Low of the Price Bar (IB Range* Fib level)

                  In the example attached chart, IB price bar Close > Open, all Fib hevels are drawn from the High of the IB range (price bar)

                  This would be a nice addition as an option for drawing extension levels (unballanced in favor of intial market direction). As you see in the chart, these levels are uncanny to show S/R levels during high range market days.

                  Another suggestion is to provide an option for not showing historical IBs to minimize chart clutter.

                  Cheers!
                  Attached Files

                  Comment


                    #10
                    Hello i have this error text when i try to download your script on ninja. Do you have an Idea what i can do too solve this ?

                    Comment


                      #11
                      Originally posted by Chris772 View Post
                      Hello i have this error text when i try to download your script on ninja. Do you have an Idea what i can do too solve this ?
                      Hey Chris,

                      I was ran into that issue but I fixed the code. It was just referencing the wrong part of Microsoft Visual Basic. You will just have to go to Ninja script editor, create a new indicator (Bottom left part of screen + sign), select generate, and remove the contents in the field. Then input the text file I have attatched into the blank NinjaScript customer indicator field, save it, and compile. You should be able to see it afterwards

                      Attached Files

                      Comment


                        #12
                        Originally posted by Tyler803 View Post
                        I'm downloaded this indicator and it's working well but I'm trying to write a strategy based around it and it's not showing up under indicators in the strategy builder. Can anyone help?
                        I need to add this line in Onbarupdate of the strategy to make it showup: InitialBalance1.Update();

                        Comment


                          #13
                          Originally posted by gemify View Post
                          I am trying to update the version on the ecosystem, but I'm not sure why NT support hasn't approved my ecosystem update request just yet.

                          Regardless, just fyi.. there's an updated version at: https://github.com/OrderFlowTools/In...lance/releases

                          The new version has Opening Range (30 seconds) as well as a Session Mid.


                          Click image for larger version Name:	ib_or_sessmid.png Views:	0 Size:	15.5 KB ID:	1233169
                          Can I contribute? A couple of things: second level time, default session time based on local time zone.

                          Comment


                            #14
                            Can Someone provide a valid link do download a valid version? I still get the error that is not compatible with NJ8...

                            Comment


                              #15
                              My apologies for the late response. Please try the direct link to the indicator here: https://github.com/OrderFlowTools/In...lance-v1.0.zip

                              I will request an update to the NT ecosystem shortly.

                              MrZ_007 Chris772 mcortezca

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by DayTradingDEMON, Today, 09:28 AM
                              1 response
                              12 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by cmtjoancolmenero, Yesterday, 03:58 PM
                              8 responses
                              31 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by helpwanted, Today, 03:06 AM
                              2 responses
                              22 views
                              0 likes
                              Last Post NinjaTrader_LuisH  
                              Started by navyguy06, Today, 09:28 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post navyguy06  
                              Started by rjbtrade1, 11-30-2023, 04:38 PM
                              2 responses
                              77 views
                              0 likes
                              Last Post DavidHP
                              by DavidHP
                               
                              Working...
                              X