Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pre Market High & Low, and today's opening price indicators?

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

    #31
    Originally posted by NinjaTrader_Kate View Post
    Hello MathWiz,

    Thank you for your reply.

    Highs[1][0] would simply give you the high of the current 1 minute bar. It sounds like you're looking for the highest high and lowest low of the preceding bars from the start of the ETH Session, is that correct?

    If so, you could use a session iterator to find the first bar of the session, then once you hit the RTH start time, save the highest high and lowest low values to a plot. I've made a fairly simple example that will plot the highest high and lowest low of the premarket over the RTH session bars. This needs to be run on an ETH chart to function properly.

    Please let us know if we may be of further assistance to you.
    I’m referring to this indicator by the way

    Comment


      #32
      Hello Malletto,

      You could add additional high (and low) plots for the other time zones with AddPlot() and after running the logic of each time zone set the value to Values[plotSeries index][barsAgo index] of the plot.

      Or you could print, draw lines, draw rectangles, etc marking the chart for each time zone.

      The Timezonecolors on the User App Share might give you some ideas of how to present the information.
      This colors 3 different time zones. It allows for timezones that cross date boundaries and shows overlapping timezones by merging the 2 time zone colors. It also display the name of the timezone or names of overlapping time zones. It is an update of the ColoredTimeRegions indicator. For more apps from this user, check out […]
      Chelsea B.NinjaTrader Customer Service

      Comment


        #33
        Originally posted by NinjaTrader_ChelseaB View Post
        Hello Malletto,

        You could add additional high (and low) plots for the other time zones with AddPlot() and after running the logic of each time zone set the value to Values[plotSeries index][barsAgo index] of the plot.

        Or you could print, draw lines, draw rectangles, etc marking the chart for each time zone.

        The Timezonecolors on the User App Share might give you some ideas of how to present the information.
        https://ninjatraderecosystem.com/use...ezonecolors-2/
        With the indicator in the thread that i mentioned, can you tell me how i can use that to show Tokyo, london and ny highs and lows. I don’t want to use anything else

        Comment


          #34
          Hello Malletto,

          You could add 13 hours to the date time with <DateTime>.AddHours() for the 13 hour difference from new york to tokyo.

          int startBarsAgo = CurrentBar - Bars.GetBar(beginTime.AddHours(13));
          int endBarsAgo = CurrentBar - Bars.GetBar(new DateTime(beginTime.Year, beginTime.Month, beginTime.Day, 22, 30, 0));

          You could add 5 hours to the date time for the difference from new york to london.

          With the same logic using the different datetimes to calculate the highest high, you can save that to a new plot added with AddPlot().

          AddPlot(Brushes.Blue, "TokyoTimeHigh");

          Values[2][0] = highestHigh;

          (Or you could use advanced C# to convert the time zones with the logic suggested from the forum post linked in post # 29)
          Chelsea B.NinjaTrader Customer Service

          Comment


            #35
            Originally posted by NinjaTrader_ChelseaB View Post
            Hello Malletto,

            You could add 13 hours to the date time with <DateTime>.AddHours() for the 13 hour difference from new york to tokyo.

            int startBarsAgo = CurrentBar - Bars.GetBar(beginTime.AddHours(13));
            int endBarsAgo = CurrentBar - Bars.GetBar(new DateTime(beginTime.Year, beginTime.Month, beginTime.Day, 22, 30, 0));

            You could add 5 hours to the date time for the difference from new york to london.

            With the same logic using the different datetimes to calculate the highest high, you can save that to a new plot added with AddPlot().

            AddPlot(Brushes.Blue, "TokyoTimeHigh");

            Values[2][0] = highestHigh;

            (Or you could use advanced C# to convert the time zones with the logic suggested from the forum post linked in post # 29)
            But can’t i just do this in the indicator settings.



            Comment


              #36
              Hello Malletto,

              Unfortunately no, this would be something you have to custom program into the script.

              Chelsea B.NinjaTrader Customer Service

              Comment


                #37
                Originally posted by NinjaTrader_ChelseaB View Post
                Hello Malletto,

                Unfortunately no, this would be something you have to custom program into the script.
                what are the market hours for london and Tokyo in est?

                Comment


                  #38
                  Hello Malletto,

                  Using the time zone converter found here:
                  Find the exact time difference with the Time Zone Converter &ndash; Time Difference Calculator which converts the time difference between places and time zones all over the world.

                  Find the exact time difference with the Time Zone Converter &ndash; Time Difference Calculator which converts the time difference between places and time zones all over the world.


                  I am seeing 8:00 AM EDT is 1:00 PM BST.
                  8:00 PM EDT is 1:00 AM BST.
                  8:00 AM EDT is 9:00 PM JST.
                  And 8:00 PM EDT is 5:00 AM JST.


                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #39
                    Originally posted by NinjaTrader_ChelseaB View Post
                    Hello Malletto,

                    Using the time zone converter found here:
                    Find the exact time difference with the Time Zone Converter &ndash; Time Difference Calculator which converts the time difference between places and time zones all over the world.

                    Find the exact time difference with the Time Zone Converter &ndash; Time Difference Calculator which converts the time difference between places and time zones all over the world.


                    I am seeing 8:00 AM EDT is 1:00 PM BST.
                    8:00 PM EDT is 1:00 AM BST.
                    8:00 AM EDT is 9:00 PM JST.
                    And 8:00 PM EDT is 5:00 AM JST.

                    Ok but what time is Tokyos session in est. and what time is london’s session in est? Thanks!

                    Comment


                      #40
                      Hello Malletto,

                      You can view the session start and end time of the US Equities ETH trading hours template by clicking Control Center > Trading Hours > and selecting US Equities ETH.

                      You can use an online time zone converter to convert times to different time zones.

                      1:00 PM BST is 8:00 AM EDT.
                      1:00 AM BST is 8:00 PM EDT.
                      9:00 PM JST is 8:00 AM EDT.
                      5:00 AM JST is 8:00 PM EDT.​
                      Chelsea B.NinjaTrader Customer Service

                      Comment


                        #41
                        Originally posted by NinjaTrader_ChelseaB View Post
                        Hello Malletto,

                        You can view the session start and end time of the US Equities ETH trading hours template by clicking Control Center > Trading Hours > and selecting US Equities ETH.

                        You can use an online time zone converter to convert times to different time zones.

                        1:00 PM BST is 8:00 AM EDT.
                        1:00 AM BST is 8:00 PM EDT.
                        9:00 PM JST is 8:00 AM EDT.
                        5:00 AM JST is 8:00 PM EDT.​
                        So how do i make this show the levels from the past again?

                        Comment


                          #42
                          Hello Malletto,

                          By calling the MAX indicator with the period value set to the barsAgo value for the start period and the [barsAgo index] set to the barsAgo of the end period.

                          This is discussed in post # 25 and sample code has been provided.

                          I would recommend contacting a professional NinjaScript Consultant to modify or create your custom script for you.

                          You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!
                          Programming Services - https://ninjatraderecosystem.com/sea...mming-services
                          Educators - https://ninjatraderecosystem.com/sea...ures=education

                          You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third party services for NinjaTrader all pricing and support information will need to be obtained through the consultant.

                          This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.​
                          Chelsea B.NinjaTrader Customer Service

                          Comment


                            #43
                            Originally posted by NinjaTrader_ChelseaB View Post
                            Hello Malletto,

                            By calling the MAX indicator with the period value set to the barsAgo value for the start period and the [barsAgo index] set to the barsAgo of the end period.

                            This is discussed in post # 25 and sample code has been provided.

                            I would recommend contacting a professional NinjaScript Consultant to modify or create your custom script for you.

                            You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!
                            Programming Services - https://ninjatraderecosystem.com/sea...mming-services
                            Educators - https://ninjatraderecosystem.com/sea...ures=education

                            You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third party services for NinjaTrader all pricing and support information will need to be obtained through the consultant.

                            This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.​
                            could i just use the max and min indicators by themselves to plot all these levels?

                            Comment


                              #44
                              Hello Malletto,

                              You can add the MAX and Min indicator to a chart but would not be giving the highest value / lowest value for a specific time range at a specific time as you were requesting. It would be providing the highest and lowest values for the period up to the bar the value is plotted on.

                              If this is what are looking for, try adding these to a chart and see if this fills your needs.
                              Chelsea B.NinjaTrader Customer Service

                              Comment


                                #45
                                Originally posted by NinjaTrader_ChelseaB View Post
                                Hello Malletto,

                                You can add the MAX and Min indicator to a chart but would not be giving the highest value / lowest value for a specific time range at a specific time as you were requesting. It would be providing the highest and lowest values for the period up to the bar the value is plotted on.

                                If this is what are looking for, try adding these to a chart and see if this fills your needs.

                                is there any default ninja indicators i can use?

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                599 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                344 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by Mindset, 02-09-2026, 11:44 AM
                                0 responses
                                103 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                                0 responses
                                558 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by RFrosty, 01-28-2026, 06:49 PM
                                0 responses
                                557 views
                                1 like
                                Last Post RFrosty
                                by RFrosty
                                 
                                Working...
                                X