Forex Trading Hours - Currency Futures | futures io social day trading
futures io futures trading


Forex Trading Hours
Updated: Views / Replies:3,716 / 10
Created: by puppeye Attachments:5

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 5  
 
Thread Tools Search this Thread
 

Forex Trading Hours

  #1 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received

Forex Trading Hours

Hi guys,

I live in Hong Kong and sometimes find the trading hours of different exchanges very confusing. I therefore wrote this indicator which displays the trading session of different timezones. It also draws a new time x-axis of the exchange timezone.

If you cant find the pre-defined timezone, you can use custom_local_gmt and custom_exchange_gmt to configure your own timezones.

note that this indicator does not automatically check daylight saving.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip ForexTradingHours_v01.zip (4.4 KB, 67 views)

Last edited by puppeye; February 22nd, 2011 at 10:57 AM. Reason: time axis problem fixed
Reply With Quote
The following 6 users say Thank You to puppeye for this post:
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


puppeye View Post
Hi guys,

I live in Hong Kong and sometimes find the trading hours of different exchanges very confusing. I therefore wrote this indicator which displays the trading session of different timezones. It also draws a new time x-axis of the exchange timezone.

If you cant find the pre-defined timezone, you can use custom_local_gmt and custom_exchange_gmt to configure your own timezones.

note that this indicator does not automatically check daylight saving.

Attachment 31507

Did you pay attention to the different daylight savings times?

Europe has different dates for switching from standard time to summer time than the US. As far as I know, Japan has no daylight savings times schedule at all.

The necessary methods are now all available with .NET 3.5., which was not the case with .Net 2.0, so you can easily use them to determine the correct values for the variable exchange_gmt which you use in your indicator code.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #3 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received



Fat Tails View Post
Did you pay attention to the different daylight savings times?

Europe has different dates for switching from standard time to summer time than the US. As far as I know, Japan has no daylight savings times schedule at all.

The necessary methods are now all available with .NET 3.5., which was not the case with .Net 2.0, so you can easily use them to determine the correct values for the variable exchange_gmt which you use in your indicator code.

Thanks Fattails. I am not sure if i can code that, I only know how to code in Ninja (and VB), I have put in for example NewYork_EST and NewYork_EDT in the exchange_timezone options to reflect daylight saving mode but the user has to know when to use which one.

BTW, those of you who downloaded the indicator before 4:30 a.m., please re-download, i have changed some of the trading session hours according to this: Market Hours - Big Mike's Trading Forum

Reply With Quote
 
  #4 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received

I wasnt online when i tested the indicator. Now, I am connected to zenfire, the x-axis keeps changing, it makes me feel dizzy :puke: , does anyone know how to make the plot_override to update only when it is FirstTickofBar?

Reply With Quote
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


puppeye View Post
Thanks Fattails. I am not sure if i can code that, I only know how to code in Ninja (and VB), I have put in for example NewYork_EST and NewYork_EDT in the exchange_timezone options to reflect daylight saving mode but the user has to know when to use which one.

BTW, those of you who downloaded the indicator before 4:30 a.m., please re-download, i have changed some of the trading session hours according to this: Market Hours - Big Mike's Trading Forum

I can certainly help you with the DST issue, it is not really difficult to do.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #6 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received

this should fix the crazy time axis problem

Attached Files
Register to download File Type: zip ForexTradingHours_v01.zip (4.4 KB, 16 views)

Last edited by puppeye; February 22nd, 2011 at 10:58 AM.
Reply With Quote
The following user says Thank You to puppeye for this post:
 
  #7 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Time Conversion with .Net 3.5

OK, here just a small example, how to convert exchange time correctly to local time.

Let us assume that you want to convert Tokyo Market Hours to local time. This is not trivial, as a US based trader will switch to Summer Time in March and back to Standard Time in November.

Conversion is needed to correctly display the opening hours on your chart. This is cannot be done by using a fixed offset from GMT. Unlike .Net 2.0, which was used by NT 6.5., .Net 3.5. comes with a library allowing for time conversion. By the way this was prerequisite for the introduction of session templates.

(1) Find Time Zone for Tokyo

First declare a string variable and declare a variable of Type TimeZoneInfo
 
Code
private string tstName = "Tokyo Standard Time";
private TimeZoneInfo tstZone;
then affect correct time zone to TimeZoneInfo variable
 
Code
tstZone = TimeZoneInfo.FindSystemTimeZoneById(tstName);
(2) Retrieve the current session start and end times
 
Code
Bars.Session.GetNextBeginEnd(Time[0], out sessionStartTimeLocal, out sessionEndTimeLocal);
You will need sessionEndTimeLocal, which holds the end of the current session in local time.


(3) Determine the Session Date
 
Code
sessionDate = TimeZoneInfo.ConvertTime(sessionEndTimeLocal, TimeZoneInfo.Local, tstZone).Date;
(4) Convert Opening Hours
 
Code
xchange_start="9:00 AM";
xchange_end="6:00 PM";
xchange_start_Local = TimeZoneInfo.ConvertTime(sessionDate+xchange_start, tstZone, TimeZoneInfo.Local);
xchange_end_Local = TimeZoneInfo.ConvertTime(sessionDate+xchange_end, tstZone, TimeZoneInfo.Local);
Of course you need to declare the variables first. So let me summarize the process:

You first look at the end of your current session. This allows you to retrieve the session date (no trading session ever closes after midnight local time). You add the local opening hour to the session date, and you will now get the current opening time in Tokyo Standard Time. In a last step you convert Tokyo time to the local time zone of the NinjaTrader user.

Not difficult at all.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #8 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received


Fat Tails View Post
Not difficult at all.

LOL

Thanks. I will certainly try that when i have time.

Reply With Quote
The following user says Thank You to puppeye for this post:
 
  #9 (permalink)
Elite Member
hk
 
Futures Experience: Beginner
Platform: ninjatrader
 
puppeye's Avatar
 
Posts: 56 since Aug 2009
Thanks: 89 given, 425 received

So this one uses the TimeZoneInfo suggested by Fattails. It checks your local timezone and detect daylight saving automatically.

you can also define your own timezone by using UTC/GMT standards.

Added the following exchanges and fixed some serialized font/color problems:
  1. NewYork_StockExchange,
  2. NASDAQ,
  3. London_StockExchange,
  4. Toronto_StockExchange,
  5. Euronext_Paris,
  6. Frankfurt_StockExchange,
  7. Swiss_Exchange,
  8. NewZealand_StockMarket,
  9. Australian_SecuritiesExchange,
  10. Tokyo_StockExchange,
  11. HongKong_StockExchange,
  12. India_StockExchange,

Attached Files
Register to download File Type: zip ForexTradingHours_v03.zip (6.3 KB, 65 views)

Last edited by puppeye; February 23rd, 2011 at 04:39 AM.
Reply With Quote
The following 11 users say Thank You to puppeye for this post:
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary



puppeye View Post
So this one uses the TimeZoneInfo suggested by Fattails. It checks your local timezone and detect daylight saving automatically.

you can also define your own timezone by using UTC/GMT standards.

Indicator works well. Your London start time is a bit late. Volume shows that the dealers are already at their desks around 7:00 GMT, because otherwise they miss the Asian-European overlap.

Another way to display the FOREX hours is just to use an appropriate session templates. The vertical lines indicate the opening of the London and New York markets. Nobody really cares, when the markets close.

Attached Thumbnails
Forex Trading Hours-6e-03-11-5-min-22_02_2011.jpg  

Last edited by Fat Tails; February 23rd, 2011 at 02:45 AM.
Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:

Reply



futures io > > > > Forex Trading Hours

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
early hours trading dirtybird Traders Hideout 7 January 7th, 2011 08:59 PM
After-hours Trading benharrell Traders Hideout 12 August 20th, 2010 11:24 AM
Trading Hours in NT Properties togier Traders Hideout 4 August 18th, 2010 08:44 AM


All times are GMT -4. The time now is 09:20 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.22 seconds with 20 queries on phoenix via your IP 54.82.56.95