![]() |
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 |
|
Junior Member
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
|
Hi @all,
i am currently at a point were I want to speed up and harden my testing and steped toward some 'limitations' in NT's OptimizationMethod. So maybe somebody have some hints or workarounds to solve this issues. 1) For some of the custom performance ratios I need the timeframe which is used for the test. So how can I get access to this information within the custom OptimizationType or OptimizationMethod ? 2) I use the GAOptimizer and want to add some kind of semi monte carlo simulation to avoid overoptimization so i want to use the optimizer to run only throug a fixed length but random starting point timeframe. eg. i optimize over a year but run the test 20 times over 1 month at variing start times. So is there also a possibility to change the time frame in which the current test is running from within the custom OptimizationMethod? Which is in actually the same issue as point 1. Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
I do not believe this is supported, however I will have someone confirm this assumption on Monday.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,420
Thanks: 252
Thanked 981 times in 963 posts
|
Hi Tommyknocker, unfortunately it's not supported changing timeframes on the fly, however for coding your own optimization algorithm you can look at the @DefaultOptimizationMethod cs file located in the MyDocuments\NinjaTrader 6.5\bin\Custom\Type folder.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Bars | Tomas | Charting | 4 | 01-21-2009 11:22 AM |
| Custom Indicator | ryebank | NinjaScript File Sharing Discussion | 1 | 11-24-2008 01:14 PM |
| Custom Indicator | velocity | General Programming | 7 | 08-04-2008 01:01 PM |
| Custom plotting | bobajob78 | General Programming | 5 | 04-09-2008 01:04 PM |
| Custom Indicator | Canon54 | General Programming | 3 | 12-14-2007 06:53 AM |