![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jul 2008
Posts: 34
Thanks: 0
Thanked 0 times in 0 posts
|
I'm backtesting a strategy and I need to be able to check for specific dates in my code. For example, if the date is between Jan 3 2003 and Jan 5 2003, set safe_to_by==false.
I searched the docs and searched the forums, but didn't find anything. What would this code look like? Thanks! |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| new contract dates in Sim101 | ratherBgolfing | Automated Trading | 3 | 03-20-2010 11:03 AM |
| Wrong dates of the entries | chobotnice | Strategy Development | 2 | 04-25-2008 01:25 AM |
| Dates disappear when zoomed out | Elliott Wave | Charting | 5 | 04-25-2008 01:16 AM |
| Possible bug on NT strategy Analyser chart dates | Sidhartha | Strategy Analyzer | 7 | 04-13-2008 05:11 AM |
| Bar Dates from custom Optimize metric | Matt_H | Miscellaneous Support | 5 | 08-08-2007 11:15 AM |