NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 07-15-2007, 05:03 AM   #1
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default Profit Targets & 'Exit on Close'

Hi:
In backtest mode, when 'Exit on Close' is set to false, it would appear that the Profit Target function is no longer valid for all days after the entry order was executed, i.e. if profit target set to 100 points and order executed on Monday.........if profit target hit on Monday, order would close, but if profit target hit on Tuesday, Wednesday, etc. the trade would remain open. pls could you clarify this ?

thx
David
dgregor5 is offline  
Reply With Quote
Old 07-15-2007, 11:44 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

This is dependant on the order TIF that is used in a backtest. If set to "DAY" it would cancel at the end of Monday, if set to "GTC" it will remain working. This is set near the bottom of the Strategy dialog window when running a backtest.
NinjaTrader_Ray is offline  
Reply With Quote
Old 07-15-2007, 01:35 PM   #3
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default

thx for the quick response - should have seen that myself.
David
dgregor5 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
Printing Current StopLoss & Profit Targets Jim-Boulder Strategy Analyzer 1 06-25-2007 11:16 AM
Multiple Simultaneous Trades at "Exit on Close" With Setting "1 Entry Per Direction&q KBJ Strategy Analyzer 1 04-27-2007 05:34 AM
Exit on Close Displays Negative Price KBJ Strategy Analyzer 4 04-20-2007 05:10 AM
Profit Targets in Strategy Wizard gregw Strategy Development 3 01-24-2007 09:30 AM
Max Targets for Adding Targets pivot44 Suggestions And Feedback 1 06-20-2006 01:49 AM


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