![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2008
Posts: 160
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I have to make a decision that someone out there can hopefully help me with... I want to backtest some futures markets whose open time is in the afternoon (Chicago time) and whose close time is the next day in the afternoon. The products start trading on Sunday afternoon and stop trading on Friday afternoon. I need to decide between importing the 1 minute bar data for products with 1 minute bar time stamps as is, or importing the 1 minute bar data with each bar getting 6 hours added to it so that the sessions don't span midnight. Are there any known problems in Ninja Trader regarding strategies that are run on futures whose sessions span midnight? Would it be better if I added 6 hours to every 1 minute bar before I imported it, or would this cause bigger problems? Thanks in advance! ChiTrader2000 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Hi ChiTrader2000, NinjaTrader session time are not determined by midnight, but rather would you set in the chart session times setup. So you should be able to import your normal data and then adjust the session times, so you would see one seamless session for your products.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2008
Posts: 160
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks! I will try it out.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Developing strategies | kekkis | Suggestions And Feedback | 9 | 10-28-2008 08:52 AM |
| Help developing simple oscillator | joek1 | Indicator Development | 10 | 08-07-2008 12:59 PM |
| time span in indicators | lgarcia3 | Miscellaneous Support | 1 | 05-01-2008 03:15 PM |
| midnight and session time question | ct | General Programming | 1 | 01-10-2008 06:55 AM |
| OHLC for non-midnight 24 hour market | StinkiePhish | Indicator Development | 1 | 07-12-2007 11:07 PM |