NexusFi: Find Your Edge


Home Menu

 





Session Manager Quirk?


Discussion in NinjaTrader

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




 
Search this Thread

Session Manager Quirk?

  #1 (permalink)
 joe11 
chapel hill, nc
 
Experience: Intermediate
Platform: NinjaTrader, ToS
Posts: 36 since May 2010
Thanks Given: 25
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?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #2 (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


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: 25
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
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


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


© 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