![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Apr 2009
Location: New Zealand
Posts: 77
Thanks: 0
Thanked 4 times in 2 posts
|
Hi
I am trying to back test a strategy that enters at the market open, is there a way to do this. I have seen the sample where you add the 1 min data series and enter on BarUpdate of 1 min bar, this does not work for me as results are not exact and back testing speed is slow as it has to retreve 1 min bars for whole back test period. Thanks Mike |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
|
Mike, this would be the way to go about - how close you will be to the actual session open will depend what granularity you add, while the 1 min is the shortest interval possible without having to resort to tick data which would make your testing more resource intensive.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enter on Open | occam | General Programming | 1 | 11-22-2010 09:45 AM |
| How to enter on the open and exit on the close of a bar | brooksrimes | Strategy Development | 5 | 07-07-2010 12:28 PM |
| Enter open ot day within intraday strategy | N-Trader | General Programming | 5 | 08-19-2009 02:46 PM |
| Exit at close and enter at open | Andy_Mil | Strategy Development | 5 | 06-24-2009 12:17 PM |
| Why does the last bar of a session get closed on the next session open? | cunparis | Strategy Analyzer | 5 | 05-07-2009 09:02 AM |