![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
|
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? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,556
Thanks: 261
Thanked 1,015 times in 996 posts
|
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
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |