NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-22-2008, 01:04 PM   #1
jriverac
Senior Member
 
Join Date: Mar 2008
Location: Barcelona
Posts: 161
Thanks: 1
Thanked 1 time in 1 post
Default Backtest a strategy

Hallo,

I am compiling a new strategy, and it compiles ok, but when I try to backtest it, although it shows uo in the list, I cannot select its parameters.

Any ideas?

Thanks,

/Juan
jriverac is offline  
Reply With Quote
Old 05-22-2008, 01:14 PM   #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

I suggest starting from scratch and building a new strategy including all parameters using the wizard, then comparing the code which the "old", existing strategy to see what differences there are.

Take a close look at the properties like:

[Description("MyProperty")]
[Category("Parameters")]
public int MyProperty
{...
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-22-2008, 02:05 PM   #3
jriverac
Senior Member
 
Join Date: Mar 2008
Location: Barcelona
Posts: 161
Thanks: 1
Thanked 1 time in 1 post
Default

I tried it, and still no luck. And for the moment the strategy has no code, just 3 parameters. No chance to select that strategy.
jriverac is offline  
Reply With Quote
Old 05-22-2008, 10:29 PM   #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

Not sure I follow. Are you saying that a simple sample strategy created in the wizard with 3 parameters and not conditions and actions can't be selected in the strategy analyzer?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-23-2008, 03:28 AM   #5
jriverac
Senior Member
 
Join Date: Mar 2008
Location: Barcelona
Posts: 161
Thanks: 1
Thanked 1 time in 1 post
Default

yes, exactly that.

Very extrange, but true.

I might reinstall Ninja.

Regards,
jriverac is offline  
Reply With Quote
Old 05-23-2008, 03:30 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

Please check your logs.
NinjaTrader_Dierk 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
Strategy to backtest Woodies CCI trades LG Strategy Development 7 04-23-2013 10:02 AM
Strategy executes differntly backtest vs live latkinso Strategy Development 7 05-19-2008 07:13 AM
How to backtest a discretionary strategy ? traderlxm Strategy Analyzer 1 04-21-2008 09:51 AM
Strategy won't backtest... maxpi Strategy Analyzer 3 11-29-2007 08:09 AM
Strategy Variables not Updating in Backtest Mode dgregor5 Strategy Analyzer 2 07-31-2007 02:50 PM


All times are GMT -6. The time now is 03:32 PM.