![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Reference Samples Official NinjaScript reference code samples |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Reference sample for NinjaTrader 6.5.xxxx.x or greater.
Trending days or ranging days can make or break a strategy. If you have a system that does extremely well on trending days, you may look for a way to turn that system off during range-bound days. A simple filter you may use could be something like, "If the last three trades were consecutive losers, stop trading for the rest of the session." This reference sample demonstrates the following concepts:
Josh
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Josh for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BarsSinceExit() Stopping strategy from executing | Obi | Automated Trading | 1 | 06-25-2009 08:40 AM |
| Starting and stopping a strategy | dpaulw | Automated Trading | 6 | 12-09-2008 08:09 AM |
| Stopping a strategy | eswap0 | Automated Trading | 1 | 11-29-2008 06:49 AM |
| Strategy suddenly stopping | heech | Strategy Development | 2 | 11-21-2008 05:00 PM |
| Stopping Strategy | jlm0@infionline.net | Strategy Development | 22 | 04-05-2008 06:37 AM |