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.

Reply
 
Thread Tools Display Modes
Old 03-04-2009, 08:40 PM   #1
TD-Trader747
Junior Member
 
Join Date: Dec 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default Exit Strategy on Daily target

I have a auto trading strategy and I'm looking to put in the following:

1. TurnDailyTargetOn (0,1)
2. ExitOnTargetAmount
3. ExitOnMaxLoss


Any ideas or sample code around to get be a jumpstart?
TD-Trader747 is offline  
Reply With Quote
Old 03-05-2009, 05:58 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,556
Thanks: 261
Thanked 1,015 times in 996 posts
Default

Hi, you could take a look at this reference sample here - http://www.ninjatrader-support2.com/...ead.php?t=4084

If you are looking to stop / halt your strategy upon certain conditions, this may be also interesting - http://www.ninjatrader-support2.com/...ead.php?t=4804
NinjaTrader_Bertrand is online now  
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
Exit Strategy SystemTrading Strategy Development 5 02-06-2009 09:05 AM
Profit target in a strategy ju1234 Strategy Development 9 12-15-2008 07:22 AM
Possible to enter/exit during the day with a daily strategy? cunparis Strategy Development 2 11-01-2008 02:58 AM
Exit strategy.... jed77 Strategy Development 18 10-16-2008 09:58 AM
Establishing a Daily Profit/Loss Target Using the Strategy Wizard daven Automated Trading 1 08-17-2008 06:42 PM


All times are GMT -6. The time now is 02:24 AM.