NinjaTrader Support Forum  

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 12-10-2010, 11:11 PM   #1
ThatManFromTexas
Senior Member
 
Join Date: Apr 2008
Posts: 146
Thanks: 8
Thanked 2 times in 2 posts
Default ... no parameters to optimize

After I had run the Optimization a couple of times on a strategy, I started getting a message that there were no optimization results since the strategy had no parameters to optimize, see attachment. I have also attached a screen capture of the parameters.
Attached Images
File Type: png Opti_Message.png (41.2 KB, 15 views)
File Type: png Optimizer.png (61.0 KB, 12 views)
ThatManFromTexas is offline  
Reply With Quote
Old 12-11-2010, 10:52 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello ThatManFromTexas,

Can you please let us know which version of NinjaTrader you're running? Click Help > About to check this.

If you can attach the strategy you're running, we can try on our side to help explain what you're seeing.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 12-11-2010, 02:16 PM   #3
ThatManFromTexas
Senior Member
 
Join Date: Apr 2008
Posts: 146
Thanks: 8
Thanked 2 times in 2 posts
Default

Version attached. I found a work-a-round. After it locks up a couple of times, I reboot the computer and it starts working again.
Attached Images
File Type: png NT_version.png (11.5 KB, 10 views)
ThatManFromTexas is offline  
Reply With Quote
Old 12-11-2010, 03:42 PM   #4
Trader.Jon
Senior Member
 
Join Date: Dec 2008
Posts: 338
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by ThatManFromTexas View Post
After I had run the Optimization a couple of times on a strategy, I started getting a message that there were no optimization results since the strategy had no parameters to optimize,.
I have seen that when I have 'gone over limit' using the PH Genetic optimizer, and I guess it affects other optimizers also ... my solution was to pare down the parameters I am optimizing, either by range or not optimizing certain variables at all.

YMMV,
Jon
Trader.Jon is offline  
Reply With Quote
Old 12-11-2010, 04:26 PM   #5
ThatManFromTexas
Senior Member
 
Join Date: Apr 2008
Posts: 146
Thanks: 8
Thanked 2 times in 2 posts
Default

Quote:
Originally Posted by Trader.Jon View Post
I have seen that when I have 'gone over limit' using the PH Genetic optimizer, and I guess it affects other optimizers also ... my solution was to pare down the parameters I am optimizing, either by range or not optimizing certain variables at all.

YMMV,
Jon
Thanks for your input.

Have you had any problems with the program "locking up", shutting down or whatever the appropriate terminology is, after running the optimizer?
ThatManFromTexas is offline  
Reply With Quote
Old 12-12-2010, 02:40 PM   #6
Trader.Jon
Senior Member
 
Join Date: Dec 2008
Posts: 338
Thanks: 0
Thanked 0 times in 0 posts
Default

I have had those type of situations (lockups/ NT never resolving itself out of 'busy', etc) with heavy duty optimizations. More so on a desktop with only 8gb ram ... it is beneficial to restart after heavy use, but I have had it happen on the first optimization run I was doing.

I have a 64gb ram system that I try to run all my optimizations on, as I find the large ram VERY helpful (lessens lockups etc) ... I plan to eventually get a duplicate motherboard to see if 32gb is a 'sweet spot' for optimizations: if so, then I'll have another system to torture.

Jon
Trader.Jon is offline  
Reply With Quote
Old 02-24-2011, 12:09 PM   #7
neb1998
Senior Member
 
Join Date: Jan 2011
Location: Illinois
Posts: 216
Thanks: 1
Thanked 0 times in 0 posts
Default

I am running into this same problem. Is there a limit on the # of optimizable variables or the # of combinations for genetic optimization?
neb1998 is offline  
Reply With Quote
Old 02-24-2011, 02:39 PM   #8
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

neb1998,

The limit is soft, based on your memory. You can definitely create optimization situations in NinjaTrader that will run into this limit. You recently started a thread on this and then reported it was all OK. If you continue to see issues, can you please re-open your thread and we will look at what is happening in your individual case.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 02-27-2011, 10:19 PM   #9
BrewDog
Junior Member
 
Join Date: Feb 2011
Location: WA
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default

I'm getting this error, too. Reboot is NEVER an acceptable option.

I had no idea that 6gb is not enough (I am running NinjaTrader 7.0.1000.3 on 64 bit Win 7.
I don't understand why this is the case. The working set is less than 300MB.
BrewDog is offline  
Reply With Quote
Old 02-27-2011, 10:28 PM   #10
neb1998
Senior Member
 
Join Date: Jan 2011
Location: Illinois
Posts: 216
Thanks: 1
Thanked 0 times in 0 posts
Default

Ryan is there a manual over ride for this? I can mitigate the memory problems with gen size and population size when my increments are small or i am optimizing many variables.

I am going to be programming a system soon that i will need over 60+ inputs on and the increments will be low on some and high on others. Even when i run optimizations that give me this error (by backing down the # of combinations some) i rarely run into memory issues. One solution is using a dual core box, it uses about 1/2 the memory as my i7 boxes....hence 1/2 the cores.

Point being, let me suffer the consequences of memory errors
neb1998 is offline  
Reply With Quote
Old 02-28-2011, 10:08 AM   #11
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello Brewdog,

Welcome to the NinjaTrader forums!

Can you please clarify what message you're getting and if it's something you can see when attempting to optimize SampleMaCrossover?

neb1998:
There's no way to turn off handling of memory limits, as it's imposed by the operating system/ hardware. Are you cleaning up any custom resources in OnTermination()? This is processed for every test so you may have some opportunity for clean up.
NinjaTrader_RyanM 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
When indicator parameters not in Parameters category MikeInMA Strategy Development 3 11-08-2010 03:24 PM
probability optimize honvl Version 7 Beta General Questions & Bug Reports 1 11-08-2009 02:18 AM
Parameters Optimize nachig Automated Trading 1 05-01-2009 04:27 AM
No parameters to optimize CapoeiraNick Strategy Analyzer 8 02-12-2009 12:06 AM
Optimize Period ssierra Strategy Analyzer 1 04-13-2008 08:21 AM


All times are GMT -6. The time now is 01:12 PM.