NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 01-02-2011, 06:08 PM   #1
upshon
Member
 
Join Date: Apr 2009
Location: New Zealand
Posts: 77
Thanks: 0
Thanked 4 times in 2 posts
Default Enter at Session Open

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
upshon is offline  
Reply With Quote
Old 01-03-2011, 04:00 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 03:13 PM.