NexusFi: Find Your Edge


Home Menu

 





Session begins / ends in X minutes indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 5 posts (2 thanks)
    2. looks_two redratsal with 4 posts (2 thanks)
    3. looks_3 trendisyourfriend with 3 posts (0 thanks)
    4. looks_4 josh with 2 posts (0 thanks)
    1. trending_up 7,966 views
    2. thumb_up 4 thanks given
    3. group 6 followers
    1. forum 15 posts
    2. attach_file 2 attachments




 
Search this Thread

Session begins / ends in X minutes indicator

  #1 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,234 since Jan 2011
Thanks Given: 6,775
Thanks Received: 18,208

I may have charts from 8 markets open on my desktop, and given that the indices open at 9:30, crude at 9:00, gold at 8:20, corn at 10:30, and so on, I can get confused as to which charts are in the open outcry session, globex, which are closed, etc....

So, what I'd like to do is have an indicator sort of like the bar timer that will display in a corner of the chart window something like:

Crude Pit Session Open in 0:15:38

or, say, at 5:25 pm ET:

ES Daily Maintenance Shutdown in 0:05:00 ...

You get the idea. I will probably wind up doing this myself, but I wanted to check first and see if anyone knows of such an indicator that already exists.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
35 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Spoo-nalysis ES e-mini futures S&P 500
14 thanks
  #2 (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,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

That's a really good idea. Have you thought about doing it in Excel or ask a programmer to do it in a separate but small program like a Window widget. This way you could let it float on your desktop. Just an idea.

Here are some financial widgets:
financial widget - download tag - page 1 - Softpedia

Reply With Quote
  #3 (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


This is not difficult to code. Just take the bar timer and modify it to display the time until session begin. Maybe you want a female voice telling you "The session for gold futures will open in 7 minutes and 32 seconds" and the chart background turning red at the same time to warn you that the session open is imminent. Or would you prefer an alert to wake you up?

I have an old clock near my computer, on for the few markets I trade, I am perfectly aware of the market open time.

Reply With Quote
  #4 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090

Why don't you use the colortimeregions indicator . You can set up to 3 zones with audio alerts and visual displays on your charts, just set the begin and end zones n minutes before start end of session.

Visit my NexusFi Trade Journal Reply With Quote
  #5 (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


redratsal View Post
Why don't you use the colortimeregions indicator . You can set up to 3 zones with visual display on your charts, just set the begin and end zones n minutes before start end of session.

That would be too easy. I could modify this indicator, to change colors prior to session begin as well, such as adding a red zone just prior to session begin.



Here is a session timer to play with. You can set the lead time. When lead time is set to 5 minutes, it will turn red 5 minutes prior to the end of the session, which can be the RTH open.

Attached Thumbnails
Click image for larger version

Name:	SessionTimer.jpg
Views:	310
Size:	82.7 KB
ID:	38886  
Attached Files
Elite Membership required to download: SessionTimer.zip
Reply With Quote
Thanked by:
  #6 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


Fat Tails View Post
That would be too easy. I could modify this indicator, to change colors prior to session begin as well, such as adding a red zone just prior to session begin.



Here is a session timer to play with. You can set the lead time. When lead time is set to 5 minutes, it will turn red 5 minutes prior to the end of the session, which can be the RTH open.

Thanks again FT but I would expected the timer to be customizable for multiple sessions like in CL and adjustable on the chart, if I use a Bar timer it overlays

Visit my NexusFi Trade Journal Reply With Quote
  #7 (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,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

I was wondering how Ninja knows when a session begins or ends. I know it parses the Session template record for a given symbol but how does it address a particular session if for example there are three sessions defined in the template ?

Do you have commands like ...

if application.session.id = 3 then
or
debug.print application.session.count

Is it that simple, or do you need to define your own function to get this information ?

Thanks

Reply With Quote
  #8 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


trendisyourfriend View Post
I was wondering how Ninja knows when a session begins or ends. I know it parses the Session template record for a given symbol but how does it address a particular session if for example there are three sessions defined in the template ?

Do you have commands like ...

if application.session.id = 3 then
or
debug.print application.session.count

Is it that simple, or do you need to define your own function to get this information ?

Thanks

With NT5 you have Bars.Session.GetNextBeginEnd(...)

NinjaTrader Version 7

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #9 (permalink)
 
Jigsaw Trading's Avatar
 Jigsaw Trading  Jigsaw Trading is an official Site Sponsor
 
Posts: 2,988 since Nov 2010
Thanks Given: 831
Thanks Received: 10,393

Download Chronos Clock - it'll do all the things you need.

Running an indicator in Ninja all the time you are logged in is a bit of a waste of resource IMO.

I have German, London & NY clocks up with alarms for the open of each market.

Visit my NexusFi Trade Journal Reply With Quote
  #10 (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



redratsal View Post
Thanks again FT but I would expected the timer to be customizable for multiple sessions like in CL and adjustable on the chart, if I use a Bar timer it overlays

LOL. It automatically adjusts to the session templates, also to multiple sessions. If you use a bar timer, I could change the position on the chart, for example allow for 4 different positions to choose from.

Reply With Quote




Last Updated on January 20, 2012


© 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