Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I remember someone providing code that checked the timezone of the computer and converting the session times in a strategy to another timezone. Does anyone have code examples to do this? I could probably eventually figure out how to do this but would be nice if someone could save some of my braincells. I only have a few left and would like to save those for something else I want to waste them on.
It should at least get you started, this is converting from UTC to local but you can do a search on DateTimeOffset and TimeZoneInfo and find other snippets.
I am trading from South Africa so I am 6 hours ahead of EST. But all the news and charts and info I get is obviously in EST.
The one solution would be to change my PC clock to EST but that messes me around with all my other work.
So an elegant solution would be for the time at the bottom of the chart to be off set by 6 hours to match up with EST.
In the absence of this the clock indicator set to EST would be a nice alternative.
Regards
John
NinjaTrader always displays charts in local time (time as set per PC clock). You can use a session template or an indicator to plot a vertical line at the market open. You can also select one color for the regular session and another color for the night session. This would give you an idea what is happening.