NexusFi: Find Your Edge


Home Menu

 





Session Manager Quirk?


Discussion in NinjaTrader

Updated
    1. trending_up 2,431 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 joe11 
chapel hill, nc
 
Experience: Intermediate
Platform: NinjaTrader, ToS
Posts: 36 since May 2010
Thanks Given: 26
Thanks Received: 4

Has anyone figured this out in NT7?

I need to create a 5-day session like this -
Mon 2:30pm - Tue 2:30pm
Tue 2:30pm - Wed 2:30pm
Wed 2:30pm - Thu 2:30pm
Thu 2:30pm - Fri 2:30pm
Fri 2:30pm - Mon 2:30pm <=

The last entry is not accepted by NT7!
I am surprised by this quirk in the Session Manager logic.
Is there a workaround for this?
Obviously I do not want to split the last entry into 2 days.

TIA,
joe


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


joe11 View Post
Has anyone figured this out in NT7?

I need to create a 5-day session like this -
Mon 2:30pm - Tue 2:30pm
Tue 2:30pm - Wed 2:30pm
Wed 2:30pm - Thu 2:30pm
Thu 2:30pm - Fri 2:30pm
Fri 2:30pm - Mon 2:30pm <=

The last entry is not accepted by NT7!
I am surprised by this quirk in the Session Manager logic.
Is there a workaround for this?
Obviously I do not want to split the last entry into 2 days.

TIA,
joe

@joe11: I do not think that it is a quirk in the session logic. It looks like a user error.

When you create a session template, you ALWAYS want to use the time zone of the exchange. I do not know a single market in the world that opens at 2:30 PM local time. If you do not stick to this rule you will

-> either confuse the NinjaTrader heuristics for determining the trading day
-> or run into issues with daylight savings schedules

Next, you NEVER want to include a weekend in your session. The markets are closed during the week-end, and you should exclude all times from your session, when the markets are closed.


Let me give you an example:

You wish to trade crude oil futures. Crude oil futures are traded at New York, so you need to use New York time for your template. For crude oil futures there is a contractual trading day which starts at 6:00 PM and ends at 5:15 PM. The time between 5:15 PM and 6:00 PM is a technical break, which should be excluded from the session. So in this case you would have five sessions

Sunday 6:00 PM - Monday 5:15 PM
Monday 6:00 PM - Tuesday 5:15 PM
Tuesday 6:00 PM - Wednesday 5:15 PM
Wednesday 6:00 PM - Thursday 5:15 PM
Thursday 6:00 PM - Friday 5:15 PM

The weekend needs to be excluded.


Reply With Quote
  #3 (permalink)
 joe11 
chapel hill, nc
 
Experience: Intermediate
Platform: NinjaTrader, ToS
Posts: 36 since May 2010
Thanks Given: 26
Thanks Received: 4


Hello Fat Tails,

Thanks for the quick response.
I suppose the intent of the NT7 Session Manager is to allow users to define and use flexible user-defined sessions.
I am taking the example of CL (CME/Nymex Crude Oil) contract in US Eastern Time (NY time).
The pit hours for CL is 9am-2:30pm ET.
I would like to use the pit closing time (not the globex closing time) as my session end time for each day.
I would like to have only 5 sessions for a week and each of the 5 days/sessions end at 2:30pm ET (CL pit close).
How do I do this?

Thanks,
joe


Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


joe11 View Post
Hello Fat Tails,

Thanks for the quick response.
I suppose the intent of the NT7 Session Manager is to allow users to define and use flexible user-defined sessions.
I am taking the example of CL (CME/Nymex Crude Oil) contract in US Eastern Time (NY time).
The pit hours for CL is 9am-2:30pm ET.
I would like to use the pit closing time (not the globex closing time) as my session end time for each day.
I would like to have only 5 sessions for a week and each of the 5 days/sessions end at 2:30pm ET (CL pit close).
How do I do this?

Thanks,
joe

The data published by the exchange is the settlement price, which cannot be taken from intraday data. The best option is to use an indicator that collects the settlement price from daily data. The free Kinetick EOD data comes with the settlement price for CL. You can simply use that.

If you don't want to use Kinetick EOD data or if you do not wish to use daily data or load daily data by an intraday indicator, then you can approximate the settlement price via the close at 2:30 PM.

For that purpose you can subdivide your trading day into three sessions

night session 6:00 PM to 9:00 AM EST
regular session 9:00 AM to 2:30 PM EST
after session 2:30 PM EST to 5:15 PM EST

You can now use the close at 2:30 PM as a proxy for the settlement price, which is the volume weighted average price of all trades that take place between 2:28 PM and 2:30 PM EST. But the better option is to load the daily bar close and use the settlement price.


Reply With Quote
Thanked by:




Last Updated on March 25, 2013


© 2026 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 - Downloads - Top
no new posts