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-15-2012, 03:02 PM   #1
kenb2004
Senior Member
 
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
Default ##-##?

How does this work?
kenb2004 is offline  
Reply With Quote
Old 05-15-2012, 03:09 PM   #2
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,869
Thanks: 129
Thanked 211 times in 205 posts
Default

Hello kenb2004,

Thank you for your post.

The ##-## expiry on a future in NinjaTrader is used to pull the continuous contract. Although, some data providers may not support continuous contracts in NinjaTrader.

Are you looking to use the continuous contract? If so, for what instrument?

What version of NinjaTrader are you using? You can check under Help -> About (Example: 7.0.1000.X)

Who are you connected to? This is displayed by green on lower left corner of the Control Center window.

I look forward to assisting you further.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 05-15-2012, 03:24 PM   #3
kenb2004
Senior Member
 
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
Default

I am using NinjaTrader 64-bit 7.071000.10, CL and Vision.

I backtested CL 6-12 for 3 weeks, 4/24/12 to 5/15/12 and then the same date range for CL ##-## and got entirely different results. They would both be CL spot month, there should be no difference, since CL 6-12 became the spot month 4/19/12. So why different results?
Thanks
kenb2004 is offline  
Reply With Quote
Old 05-15-2012, 11:35 PM   #4
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,869
Thanks: 129
Thanked 211 times in 205 posts
Default

Hello kenb2004,

Thank you for your response.

Please provide a specific date and time that you see this difference.

What interval are your charts? What session template is used? You can check this by right clicking in your chart > select Data Series > check the session template parameter.

I look forward to assisting you further.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 05-16-2012, 06:53 AM   #5
kenb2004
Senior Member
 
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
Default

Date range is above, time is 9 AM to 14:25 PM. Session template is a modified Default 24/5 (12:01 to 11:59 PM Monday through Friday). Chart is a 3 LineBreak/37Tick. All I did was change CL 6-12 to CL ##-## when backtesting in the Strategy Analizer.
kenb2004 is offline  
Reply With Quote
Old 05-16-2012, 11:22 AM   #6
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello kenb2004,
Thanks for writing in and I am replying for Patrick.

If you backtest using the SampleMACrossover strategy on a say one minute chart with the same settings, are you getting the same result or the results still vary for CL 06-12 and CL ##-##.

In the Trade tab of the Strategy Analyzer, what is the entry date for the first entry trades for both the instrument.

I look forward to assisting you further.
NinjaTrader_Joydeep is offline  
Reply With Quote
Old 05-16-2012, 12:37 PM   #7
kenb2004
Senior Member
 
Join Date: Jul 2010
Posts: 415
Thanks: 1
Thanked 4 times in 4 posts
Default

Yes, I am getting the same results for both instruments using a 1 minute dataseries. The date range I used is in post #3. However when I changed to a 3 LineBreak/37Tick dataseries, using the same date range and the same SampleMACrossover, the results were totally different for the 2 instruments.
Last edited by kenb2004; 05-16-2012 at 12:40 PM.
kenb2004 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


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