NexusFi: Find Your Edge


Home Menu

 





background for diffenrt sessions template


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 20 posts (24 thanks)
    2. looks_two madLyfe with 14 posts (2 thanks)
    3. looks_3 cal1152 with 5 posts (0 thanks)
    4. looks_4 trendisyourfriend with 4 posts (0 thanks)
    1. trending_up 21,242 views
    2. thumb_up 31 thanks given
    3. group 5 followers
    1. forum 46 posts
    2. attach_file 19 attachments




 
Search this Thread

background for diffenrt sessions template

  #1 (permalink)
razorbuzz
Hannover / Germany
 
Posts: 32 since Aug 2010
Thanks Given: 10
Thanks Received: 11

Hi everyone,
I'm trading bonds from US with ETH-Session Template.
Is it possible to make different backgrounds for the "night-session" and show the RTH session in one chart?
My thinking is, to see with one eye : this night session and that is RTH/Floor Session in one chart.

thanx

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
 
Jeff Castille's Avatar
 Jeff Castille 
Northern California
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Amp Futures/ Zen-Fire
Trading: YM and CL
Posts: 2,109 since Jun 2009
Thanks Given: 1,783
Thanks Received: 3,303



razorbuzz View Post
Hi everyone,
I'm trading bonds from US with ETH-Session Template.
Is it possible to make different backgrounds for the "night-session" and show the RTH session in one chart?
My thinking is, to see with one eye : this night session and that is RTH/Floor Session in one chart.

thanx

Ninja 7 Color Time Regions

Attached Files
Elite Membership required to download: ColorTimeRegionsNT7.cs
Follow me on Twitter Reply With Quote
The following 4 users say Thank You to Jeff Castille for this post:
  #4 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,526 since Oct 2009
Thanks Given: 4,167
Thanks Received: 6,018

Jeff, can we set each session in a different color with this indicator ? For example, if my session template contains three sessions, would it be possible to set a different background color for each ?

Reply With Quote
  #5 (permalink)
 
Jeff Castille's Avatar
 Jeff Castille 
Northern California
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Amp Futures/ Zen-Fire
Trading: YM and CL
Posts: 2,109 since Jun 2009
Thanks Given: 1,783
Thanks Received: 3,303


trendisyourfriend View Post
Jeff, can we set each session in a different color with this indicator ? For example, if my session template contains three sessions, would it be possible to set a different background color for each ?


Yes......this indicator is capable of individually coloring three different time zones.

Follow me on Twitter Reply With Quote
The following user says Thank You to Jeff Castille for this post:
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


razorbuzz View Post
Hi everyone,
I'm trading bonds from US with ETH-Session Template.
Is it possible to make different backgrounds for the "night-session" and show the RTH session in one chart?
My thinking is, to see with one eye : this night session and that is RTH/Floor Session in one chart.

thanx

If you trade US bonds (ZB) you should be aware that the US and Europe have different daylight savings rules.The time difference between Chicago and Frankfurt usually is 7 hours, but reduced to 6 hours during several weeks per year.

There are two ways to cope with this. Either you hardcode the daylight saving rules, which can be done but is tedious, or you use the NinjaTrader SessionManger to handle it. If you use a session template with three subsessions per day

night session 17:30 - 7:20 CT
RTH session 7:20 - 14:00 CT
after session 14:00 - 16:00 CT

the chart will already correctly display the session breaks and adapt to the different daylight saving schemes. Session template attached below.

It is then a very simple task to code an indicator that colours the three sub-sessions. Can be done in a few minutes. Just check, whether you can get along with this session template and let me know your preferred backcolors.

Below is an example, how I use the session template for US bonds. The blue range is the Pivot range calculated from yesterday's RTH value for high, low and settlement. The opening range (red) and the night session range (gray) are displayed for the RTH session only, so RTH starts, when the backcolor changes.

Alll these indicators rely on the session template attached, nothing will work without it.

Attached Thumbnails
Click image for larger version

Name:	Session Template Bonds.PNG
Views:	442
Size:	21.0 KB
ID:	26723   Click image for larger version

Name:	ZB 03-11 (5 Min)  08_12_2010.png
Views:	576
Size:	68.0 KB
ID:	26724  
Reply With Quote
The following user says Thank You to Fat Tails for this post:
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Jeff Castille View Post
Ninja 7 Color Time Regions


Should only be used if your system clock is set to the same timezone as the exchange where the instrument is traded. Otherwise you will run into issues with different daylight saving rules.

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
  #8 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,526 since Oct 2009
Thanks Given: 4,167
Thanks Received: 6,018


Fat Tails View Post
It is then a very simple task to code an indicator that colours the three sub-sessions

But can you make a generic indicator that could be used with any template ?

Reply With Quote
  #9 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

As it was fast and easy to produce, here is an indicator that gets you different backcolors for each of the intraday sessions. Up to 4 sessions per day allowed. Colors can be selected via indicator dialogue box.

Only works, if the appropriate session template is selected for the chart.

But once you have entered all session templates and selected them in the instrument manager, you can set all your charts to <instrument settings> and then toggle between different instruments and all sessions will automatically adjust.

Link to indicator:


Attached Thumbnails
Click image for larger version

Name:	ZB 03-11 (5 Min)  08_12_2010.jpg
Views:	444
Size:	80.8 KB
ID:	26729  
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
  #10 (permalink)
razorbuzz
Hannover / Germany
 
Posts: 32 since Aug 2010
Thanks Given: 10
Thanks Received: 11


looks absolutely perfect for me.
same for CL.

Just for my understanding:
If I use it for ES:
The times are:
8.30 am to 3.15 pm
3.30 pm to 8.15 am

when I write it in the template, the indicator shows me only one coloured background.

I'm totally wrong?

EDIT.

following solution:
premarket 7.30 am to 8.30 am
RTH 8.30 am to 3.15 pm
night 3.30 pm to 7.30 am

Reply With Quote





Last Updated on May 20, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts