NinjaTrader Support Forum  

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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-15-2011, 12:40 PM   #1
neuro_doc
Junior Member
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Enter On Next Open, Exit at Session End

I am having some difficulty setting up a strategy that will:
a. Enter on Open of Bar.
b. Exit at Close of Bar.

A code snippet of how to accomplish this within a strategy would be greatly appreciated.
Thanks!
neuro_doc is offline  
Reply With Quote
 

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 at Session Open upshon Strategy Development 1 01-03-2011 04:00 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
Strategy won't exit at end of session dancorcal Automated Trading 3 01-13-2010 02:18 PM
Enter trade at open and exit trade at close d.allen101 Strategy Development 3 11-11-2009 10:02 AM
Exit at close and enter at open Andy_Mil Strategy Development 5 06-24-2009 12:17 PM


All times are GMT -6. The time now is 07:17 AM.