NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 05-16-2007, 01:01 PM   #1
latkinso
Senior Member
 
Join Date: May 2006
Location: , ,
Posts: 155
Thanks: 0
Thanked 0 times in 0 posts
Default back test

Hi, I am attempting to develop and backtest and autostrategy,

I am a bit uncertain on the backtest procedure, I am using
zenfire for datafeed, where do i retrieve the historical data
and exactly what steps are required to get into a backtest
mode?
latkinso is offline  
Reply With Quote
Old 05-16-2007, 01:10 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Latkinso,

Zen-Fire does provide limited amounts of historical data. If you want to do some serious backtesting, you will need a provider such as eSignal or DTNiQ.

Here is a link for historical data - http://www.ninjatrader-support.com/H...ricalData.html

There are quite a few steps involved to develop and backtest a strategy. Fortunately, there is documentation. I would start with the following link and work your way through it. I will likely host some product training sessions in this area next week.

http://www.ninjatrader-support.com/H...dingLogic.html
NinjaTrader_Ray is offline  
Reply With Quote
Old 05-16-2007, 01:21 PM   #3
latkinso
Senior Member
 
Join Date: May 2006
Location: , ,
Posts: 155
Thanks: 0
Thanked 0 times in 0 posts
Default Back test

Thanks Ray for the quick reponse.

Please direct me to the strategy analyzer icon, sounds
silly, but i have looked at every button on this thing and
am obviously overlooking it.

Thanks

Lynn
latkinso is offline  
Reply With Quote
Old 05-16-2007, 01:38 PM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Within the Control Center window, select the menu File > New > Strategy Analyzer.
NinjaTrader_Ray is offline  
Reply With Quote
Old 05-18-2007, 11:22 AM   #5
latkinso
Senior Member
 
Join Date: May 2006
Location: , ,
Posts: 155
Thanks: 0
Thanked 0 times in 0 posts
Default Entry question

Hi Ray

You would be proud of me, i found the strategy analyser and
was actually able to do a backtest. There is hope for all of us, lol

Can you tell me the correct method of auto entry for a system
such as the sample moving average crossover, that would begin
with the correct number of contracts. The system as i am running
it starts the first trade of the day with a two lot and then is
just going flat on each switch rather than changing from long
to short and vice versa.

Thanks

Lynn
latkinso is offline  
Reply With Quote
Old 05-18-2007, 11:58 AM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Hi Lynn,

Great...

We are in the process of providing more sample code for users to reference. What I would suggest is reviewing in great detail the Strategy Wizard section of our Help Guide. Also search for the Tutorial on building a strategy. Both of these sections will give you a jump start in building various strategies.
NinjaTrader_Ray 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
should an exit order test for 'in position' zoltran Strategy Development 3 04-10-2007 04:34 AM
Problems with simple donchian cross test zoltran Strategy Development 2 04-02-2007 10:21 AM
How to test when we move to a new bar richard Indicator Development 2 06-21-2006 01:53 AM
Bring Back??? underground Suggestions And Feedback 0 01-31-2006 05:26 AM
Re Back testing John_Aus Miscellaneous Support 6 03-15-2005 01:54 AM


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