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 03-02-2011, 03:47 PM   #1
shodson
Member
 
Join Date: May 2009
Posts: 81
Thanks: 1
Thanked 0 times in 0 posts
Default Strategy Session template = <Use instrument settings> but fired trade in pre-market

I have a strategy that I added to the Strategies tab (not to a chart) on TF and had Session template set to "<Use instrument settings>" which here in California is 6:30 to 1:15pm. If I pull up a chart of TF with that setting that's the only bars I get on the chart. And when I backtest just using this setting, it only test during those times.

I set up my strat to run on SIM last night so it would trade the next day's session on SIM. However, my strat fired off a trade at 4:40am this morning, before the session's open. So why did it do that?
shodson is offline  
Reply With Quote
Old 03-02-2011, 04:28 PM   #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

Hi Shodson,

There were changes made to some instruments default session template. You should look into the settings defined for TF to verify they're what you expect.

Click Tools > Instrument Manager
Search for TF* and edit
Note the name of the session template listed.

Check the specific times used for this session template under Tools > Session Manager.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 03-02-2011, 04:37 PM   #3
shodson
Member
 
Join Date: May 2009
Posts: 81
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_RyanM View Post
Hi Shodson,

There were changes made to some instruments default session template. You should look into the settings defined for TF to verify they're what you expect.

Click Tools > Instrument Manager
Search for TF* and edit
Note the name of the session template listed.

Check the specific times used for this session template under Tools > Session Manager.
Thanks, I did that and everything seems to be in order, still not sure why it would trade outside of RTH.



shodson is offline  
Reply With Quote
Old 03-02-2011, 04:42 PM   #4
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

Thank you for the screenshots. Can you send in your log / trace files and we can review what is happening internally with NT at the time. You can use Help > Mail to support feature for this. In the subject write Attn: RyanM 445257
NinjaTrader_RyanM is offline  
Reply With Quote
Old 03-02-2011, 04:47 PM   #5
shodson
Member
 
Join Date: May 2009
Posts: 81
Thanks: 1
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_RyanM View Post
Thank you for the screenshots. Can you send in your log / trace files and we can review what is happening internally with NT at the time. You can use Help > Mail to support feature for this. In the subject write Attn: RyanM 445257
OK, I did, not sure if you got it or not, see attached screenshot.
Attached Images
File Type: png email-fail.png (54.1 KB, 7 views)
shodson is offline  
Reply With Quote
Old 03-02-2011, 04:54 PM   #6
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

It doesn't look like it sent. You can attach manually in an email to support as well. They are labeled according to the date. Send the files with the date matching when you saw this occur.



You will find the log file in the Documents > NinjaTrader 7 > Log folder.

* The log file will be named ‘log.YYYYMMDD.txt’

You will find the trace file in the Documents > NinjaTrader 7 > Trace folder.

* The trace file will be named ‘trace.YYYYMMDD.txt’
NinjaTrader_RyanM is offline  
Reply With Quote
Old 03-03-2011, 11:42 AM   #7
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

Are you using a multi instrument strategy by any chance?

When did you change the session template for this? The default session template for TF is ETH trading (Ipe Europe Futures).
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
Trade-ideas > NT chart > execute trade > IB > Manage multiple trade from NT?? heywally SuperDOM and other Order Entry Windows 1 02-02-2011 12:11 PM
Regular Session vs Pre and Post Market cuccaa Charting 0 12-26-2010 07:47 AM
6E session template "Use instrument settings" not working raycam Version 7 Beta General Questions & Bug Reports 5 10-04-2010 01:23 PM
InteractiveBrokers>OwnData>TS8>NinjaTrader(Simulation Edition)<Interactive Brokers virtu Automated Trading 28 05-26-2010 03:35 PM
spurios bar spike using <instrument settings> template zweistein Version 7 Beta General Questions & Bug Reports 12 10-27-2009 03:14 AM


All times are GMT -6. The time now is 04:39 PM.