![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Location: Georgia
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
|
In building a script/strategy, can I via the Wizard, tell the script to "quit" trading after so many consecutive losers during a trading day? Alternatively ,can I tell the script to quit trading when a defined amount of loss (either by specified $ amount or % amount) is reached?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
You should be able to in a little more convoluted manipulation in the conditions side. Basically just add a condition that evalutes to false after you have traded thus effectively stopping future trades. I suggest you give the methods outlined in these reference samples a try instead: http://www.ninjatrader-support.com/v...ead.php?t=4804
http://www.ninjatrader-support.com/v...ead.php?t=4084
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Consecutive Tick Number | brima | Indicator Development | 4 | 04-14-2008 08:23 AM |
| PnL not updating after a losing trade | Antraman | SuperDOM and other Order Entry Windows | 4 | 10-03-2007 09:42 AM |
| Losing connection while in a trade - Stop disappeared | Antraman | Connecting | 3 | 10-03-2007 07:12 AM |
| I keep losing my cursor | ct | Miscellaneous Support | 7 | 05-29-2007 09:28 PM |
| Losing saved chart workspace | Drew | Charting | 1 | 05-16-2007 07:03 AM |