![]() |
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
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2007
Posts: 112
Thanks: 0
Thanked 0 times in 0 posts
|
I tried looking but I can't seem to find any information, but can ninjatrader test equities (particularly the SPY etf) on a daily level with the yahoo connection? Nothing seems to be coming up when I run the back test.
Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
Yes, you can. If you can pull up a daily chart with backfill data using Yahoo, you can back test on the daily timeframe.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2008
Posts: 271
Thanks: 4
Thanked 7 times in 7 posts
|
Yes, that's what I do. Just set up a Yahoo data connection, and in your chart be sure to set the "bars back" parameter to the number of bars you want. If you set the "days back" you will only get something like 250 days maximum regardless of your setting.
-Alex |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2007
Posts: 112
Thanks: 0
Thanked 0 times in 0 posts
|
So my question would be, is the Min. Bars Required parameter in the Strategy analyzer the number of bars back that you would want to look prior to the From date? Or is that the minimum number of bars including the From date?
And does the multiple time frame work, like for example, if I want to do something with the weekly time frame by using Add(PeriodType.Week, 1);?
Last edited by mazachan; 10-08-2008 at 11:17 AM.
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jul 2008
Posts: 271
Thanks: 4
Thanked 7 times in 7 posts
|
What I meant was, when you create a chart, you are first shown the "format data series" dialog that has the following choices:
Days back Bars back Start date If you want more than 250 bars (365 days), it doesn't seem to matter how you set "Days back". You need to set "Bars back" to something large. These things are not the same as "minimum bars back" that you set in the strategy analyzer. -Alex |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
The from date tells what data will be used. The min. bars required is then counted on top of that date. So if your from date is the 1st of the month, and your min. bars is 20, then since you are using daily data your strategy will start on the 21st. The multi-timeframe part is correct and possible.
Ben
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculating Daily data bars from 5 mn data | Jean-Marc-Molina | Miscellaneous Support | 2 | 09-30-2008 10:27 AM |
| OnBarUpdate() problem when backtesting daily data | hicker | Strategy Development | 2 | 05-02-2008 03:47 AM |
| Indices and equities data not showing up | caffoo | Market Analyzer | 3 | 01-18-2008 01:37 AM |
| BackTesting data | latkinso | Strategy Analyzer | 3 | 01-04-2008 12:48 PM |
| Backfill data in Daily chart (July/August data missing) | RK_trader | Charting | 4 | 09-09-2007 10:52 PM |