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

first hours high and low?

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

    first hours high and low?

    Does anybody have an indicator which just draws a horizontal line (that only extends for the current trading day) which indicates the first hour's high and low (for charts using regular trading hours)?
    Tasuki

    #2
    Hello Tasuki,

    Thank you for your note.

    I would suggest checking our forum for the indicator at the following link,


    You can also contact a professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks, Alan,
      Checking out the amazing indicators on this webpage. Some cool stuff, including the OpeningPrice indicators which just might be what I need for FHHL (first hour's high and low).
      FYI trading friends, this site (in Alan's initial reply to me) has some great stuff.
      Tasuki
      Attached Files

      Comment


        #4
        Hi Tasuki,

        If you send me an email I will program and send you the indicator that makes what you say.

        Regards,

        Comment


          #5
          I post here the indicator just in case anyone need it:

          Comment


            #6
            Originally posted by Sangui View Post
            I post here the indicator just in case anyone need it:

            https://www.dropbox.com/s/5psc0vxkhy...Tasuki.cs?dl=0
            Hi,

            Thanks for the FHH script you posted. Attached is the compiled .cs.

            For some reason I was not able to get it to draw the hi and low lines.

            Did you test it? Would you please confirm?

            As a suggestion and perhaps for consideration, a more useful form of this indicator would be to draw the lines for variable open ranges (i.e., 5, 30, 60, min, etc.), using an UI for start time and end time for the range.

            The addition of overnight high and low are also icing on the cake.

            Cheers!
            Attached Files

            Comment


              #7
              Hi Aligator

              Yes I tested it. It is intended yo be used is RTH charts because it detects the start of the session. And calculates the first hours independently of the timeframe you are using. please test it by using a RTH chart and let me know of you can make it work successfully. Thanks

              Comment


                #8
                Hi again Aligator,

                Please, take a look to the following videoclip to show you how to make it work:



                Regards,

                Comment


                  #9
                  Originally posted by Sangui View Post
                  Hi again Aligator,

                  Please, take a look to the following videoclip to show you how to make it work:



                  Regards,
                  Thanks a bunch Sangui,

                  I still can not get it plot with RTH either. I have not changed anything in your code and it compiles fine. I am using the latest NT8 version 8.0.9.0.

                  Perhaps if you can attach your .cs file I can give it a try.

                  Many thanks.

                  Comment


                    #10
                    I will adapt it to make it work either in ETH or RTH and also post the cs here

                    Comment


                      #11
                      Originally posted by Sangui View Post
                      I will adapt it to make it work either in ETH or RTH and also post the cs here
                      That is great! Now that you are at it is it possible to also add lines for the overnight (RTH -Session Open) high and low?

                      Many thanks.

                      Comment


                        #12
                        Find it here:


                        For ETH charts you will need to setup the start time in the settings:


                        To test it you have to load the indicator before the session start (RTH) or before the configured Start Time (ETH).

                        Any other thing, please do not hesitate to ask me .

                        What do you mean exactly with "add lines for the overnight (RTH -Session Open) high and low?"?

                        Regards,

                        Comment


                          #13
                          Originally posted by Sangui View Post
                          Any other thing, please do not hesitate to ask me .

                          What do you mean exactly with "add lines for the overnight (RTH -Session Open) high and low?"?

                          Regards,
                          Thanks again Sangui,

                          What I mean is the overnight price range prior to RTH open. This is usually done by plotting two additional lines, HH and LL lines beginning at the Start of ETH and ending at Start of RTH.

                          These two lines are similar to the FHH opening range but with different colors. The pre-market range provides excellent Sup/Res projections following the RTH open, specially for CL, TF, ES, and 6E.

                          P.S. the link provides version 2 as a .dll file not an open source.

                          Cheers!
                          Last edited by aligator; 09-22-2017, 05:01 PM.

                          Comment


                            #14
                            Hi Alligator,

                            The problem that I find here, is to know the number of bars from the Regular Session end until it open. Because not always is the same, depends of day of the week, market holidays, timeframe. I don't know if there is some coded function that helps to calculate.

                            Regards,

                            Comment


                              #15
                              Originally posted by Sangui View Post
                              Hi Alligator,

                              The problem that I find here, is to know the number of bars from the Regular Session end until it open. Because not always is the same, depends of day of the week, market holidays, timeframe. I don't know if there is some coded function that helps to calculate.

                              Regards,
                              I think there are a couple of functions for the FirstBarOfTheSession and the
                              LastBarOfTheSession that can be applied to either or both RTH and RTE.
                              There are some examples of NT7 codes for that on Futures.IO.

                              Cheers!

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by algospoke, Today, 06:40 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post algospoke  
                              Started by maybeimnotrader, Today, 05:46 PM
                              0 responses
                              7 views
                              0 likes
                              Last Post maybeimnotrader  
                              Started by quantismo, Today, 05:13 PM
                              0 responses
                              7 views
                              0 likes
                              Last Post quantismo  
                              Started by AttiM, 02-14-2024, 05:20 PM
                              8 responses
                              168 views
                              0 likes
                              Last Post jeronymite  
                              Started by cre8able, Today, 04:22 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post cre8able  
                              Working...
                              X