![]() |
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: May 2009
Posts: 52
Thanks: 0
Thanked 0 times in 0 posts
|
executing.
any reason why that would happen? i am using data from 1 dec 08 until 25 feb 09. The strategy works well (executing twice a day) from 1 dec 08 until 29 dec 08. Then there are no trades between 29 dec 08 until the last bar on 25 feb 09. The chart shows that there is data between those dates. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,547
Thanks: 261
Thanked 1,012 times in 993 posts
|
anothertoy, are you sure your conditions for trade execution should trigger during that period? Is the same happening when you start this from a chart? Do you see any errors in the Log tab of the Control Center?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2009
Posts: 52
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks. Checked the error log (didn't know about it) and found some bad data which created a divide by 0.
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
|
I think the error log needs to be made more obvious. We definitely don't want a modal dialog with each error, but there should be some indication in the strategy chart, backtest run results, etc. that indicates there were problems, and clicking that indicator takes you to the error details. If there was one of the fairly common out of memory errors during an optimization, for example, the optimization results can't be trusted, and it is absolutely critical to know that.
|
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Thank you for your thoughts. I have forwarded them to development.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
how do you get strategy anlyzer to run with saved chart layouts. each time i run it i have to add the indicators again. it doesnt seem to allow the chart template to stay loaded when it runs
|
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,547
Thanks: 261
Thanked 1,012 times in 993 posts
|
trader1512, not sure I follow - to work with chart templates the normal Charts are more convenient, as the Strategy Analyzer will help you visualize the particular strategy you're testing currently.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
i am testing a strategy which i employ manually. i use multiple indicators to determine setup and entry. i have programmed them into a strategy so i can backtest and refine my MANUAL routine.
i use a saved chart template with my indicators on it. when i run the strategy analyzer it wipes out the indicators and reloads the basic chart. i am trying to determine if there is a way to run the backtest on the strategy while using the saved chart so i dont have to reload my indicators each time i run a test? |
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,547
Thanks: 261
Thanked 1,012 times in 993 posts
|
Have you tried setting the template as the default template to be loaded?
http://www.ninjatrader-support.com/H...Templates.html
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
how do i change the default template in strategy analyzer? thats where the chart comes up after i run the backtest and click on chart button within analyzer
|
|
|
|
|
|
#11 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,547
Thanks: 261
Thanked 1,012 times in 993 posts
|
Unfortunately this is not possible in the Strategy Analyzer chart window, it will always display the indicators (if you have chosen to do so) associated with the strategy you backtest. So best option would be to add the indicators you need in your strategy code -
http://www.ninjatrader-support2.com/...ead.php?t=3228
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
thanks. i checked the help guide but could not find how to do this. the strategy uses the indicators, how would i put them in the code so they display.
also, is there a way to backtest the strategy using the ATM strategy i use when trading. |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
found the link am trying it now.
can the atm strategy be incorporated? |
|
|
|
|
|
#14 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,547
Thanks: 261
Thanked 1,012 times in 993 posts
|
Please check the link I posted in my prior post, or if you're in the strategy wizard, please set 'Plot on chart' to true in the indicators you use in your conditions.
No, ATM strategies can unfortunately not be backtested.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Feb 2009
Posts: 153
Thanks: 0
Thanked 0 times in 0 posts
|
any chance you could provide a sample of the actual code used for the link.
i could not get it to compile by just adding the code snippets,. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strategy to backtest Woodies CCI trades | LG | Strategy Development | 7 | 04-23-2013 10:02 AM |
| Live Trades dont match Strategy Analyzer | gg80108 | Strategy Analyzer | 3 | 01-07-2009 12:38 PM |
| Strategy just stopped updating | tradefaz | General Programming | 7 | 08-23-2008 12:03 PM |
| Beta bug? Strategy Analyzer backtest properties window showing wrong properties | OregonSun | Historical NinjaTrader 6.5 Beta Threads | 2 | 01-27-2008 05:42 PM |
| Strategy Analyzer Chart does not display Trades | plipa | Strategy Analyzer | 15 | 04-26-2007 05:27 PM |