NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 09-05-2007, 11:21 AM   #1
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default Optimiser Type

Hi - is it possible to use different optimiser types with NT? if so, who are the best people to contact to develop the appropriate methodologies - I am particularly interested in Genetic Algorithms.............

thx
David
dgregor5 is offline  
Reply With Quote
Old 09-05-2007, 11:33 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately NT only supports the brute force optimization (testing all possible parameter combinations).
NinjaTrader_Dierk is offline  
Reply With Quote
Old 09-05-2007, 11:43 AM   #3
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default

is not possible to use a 3rd party algorithm that can be incorporated into NT ?
dgregor5 is offline  
Reply With Quote
Old 09-05-2007, 11:45 AM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately not
NinjaTrader_Dierk is offline  
Reply With Quote
Old 09-05-2007, 11:46 AM   #5
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default

any plans ?
dgregor5 is offline  
Reply With Quote
Old 09-05-2007, 11:47 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Not right now
NinjaTrader_Dierk is offline  
Reply With Quote
Old 12-31-2007, 09:53 PM   #7
vtaran
Junior Member
 
Join Date: Dec 2007
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
Default

It's quite easy to replace default brute force optimizer. Override Optimize() method in class derived from OptimizationMethod.
Use Documents\NinjaTrader6\bin\Custom\Type\@DefaultOpt imizationMethod.cs file as a sample. I use Monte Carlo (random) time-limited optimizer. Finds good parameters much faster.
vtaran is offline  
Reply With Quote
Old 01-01-2008, 02:47 AM   #8
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default

vtaran
thx for the reply. I am aware that it is possible to change the optimiser type in NT, but was not aware of any available NT alternatives (until the System Quality Number thread here in the Support Forum). Do you have details of the Monte Carlo optimiser that you are using, i.e. where did you get it from? is it specific to NT, costs, etc.).

many thx in advance
David
dgregor5 is offline  
Reply With Quote
Old 01-01-2008, 06:59 AM   #9
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

There's a difference between Optimizer and OptimizerType. The Optimizer runs the actual test, has the ability to select which parameters to use, etc. The OptimizerType (e.g. the SQN I posted) ranks the result from one iteration. You are interested in the Optimizer.
Pete S is offline  
Reply With Quote
Old 01-01-2008, 05:06 PM   #10
vtaran
Junior Member
 
Join Date: Dec 2007
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
Default

I wrote optimizer myself. It iterates through parameters not sequentially but randomly for preselected time. If brute force optimization is going to take many hours/days I use random optimizer to narrow the ranges (and often it finds parameters very close to optimal). Than default optimizer can be used for fine tuning if required. Later I will write Genetic optimizer. Don't have much time now. Current version of NT Default (brute force) optimizer is too basic. As a minimum it should be multithreaded.
vtaran is offline  
Reply With Quote
Old 01-02-2008, 03:39 PM   #11
dgregor5
Senior Member
 
Join Date: Jul 2007
Posts: 225
Thanks: 0
Thanked 0 times in 0 posts
Default

appreciate your comments guys- thx !
David
dgregor5 is offline  
Reply With Quote
Old 01-02-2008, 04:47 PM   #12
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

vtaran .. would you mind posting your optimiser?
zoltran is offline  
Reply With Quote
Old 01-18-2008, 02:44 AM   #13
Jenny
Member
 
Join Date: Jun 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
Default

I am very insterested in this topic too. Can you post your optimizer?
Thanks
Last edited by Jenny; 01-18-2008 at 03:14 AM.
Jenny is offline  
Reply With Quote
Old 01-18-2008, 02:52 AM   #14
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

To get more than the default two optimizer types you will need to do what vtaran did and program your own. The other files in the folder are what you optimize for and not the optimizer type itself.
NinjaTrader_Josh is offline  
Reply With Quote
Old 01-18-2008, 07:24 AM   #15
Jenny
Member
 
Join Date: Jun 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
Default

Josh,
Thanks for your reply.
IF zoltran or somebody else can give us the optimizer, it would be great.
Last edited by Jenny; 01-18-2008 at 08:04 AM.
Jenny is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two questions: Difference of two different instruments and dot type plot svrz Indicator Development 3 04-30-2007 01:12 AM
Entry Order Type - Market If Touched tazman SuperDOM and other Order Entry Windows 1 03-19-2007 01:58 AM
Stop orders in DOM not triggering in IB/TWS as specified trigger type JangoFolly Miscellaneous Support 8 12-13-2006 06:59 AM
Unknown OIF file type. Zardoz Automated Trading 3 04-17-2006 05:34 AM
Problem with 'Parameter Type' set to Price codeye Miscellaneous Support 5 12-09-2005 07:06 AM


All times are GMT -6. The time now is 12:47 AM.