Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Pre Market High & Low, and today's opening price indicators?
Collapse
X
-
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
-
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 elseOriginally posted by NinjaTrader_ChelseaB View PostHello 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/
Comment
-
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
-
But can’t i just do this in the indicator settings.Originally posted by NinjaTrader_ChelseaB View PostHello 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)
Comment
-
Hello Malletto,
Using the time zone converter found here:
Find the exact time difference with the Time Zone Converter – 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 – 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
-
Ok but what time is Tokyos session in est. and what time is london’s session in est? Thanks!Originally posted by NinjaTrader_ChelseaB View PostHello Malletto,
Using the time zone converter found here:
Find the exact time difference with the Time Zone Converter – 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 – 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.
Comment
-
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
-
So how do i make this show the levels from the past again?Originally posted by NinjaTrader_ChelseaB View PostHello 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.
Comment
-
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
-
could i just use the max and min indicators by themselves to plot all these levels?Originally posted by NinjaTrader_ChelseaB View PostHello 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.
Comment
-
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
-
Originally posted by NinjaTrader_ChelseaB View PostHello 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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
345 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment