NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 08-11-2010, 09:13 AM   #1
Jeremytang
Senior Member
 
Join Date: Jun 2010
Location: Calgary, AB
Posts: 100
Thanks: 0
Thanked 2 times in 2 posts
Send a message via MSN to Jeremytang Send a message via Skype™ to Jeremytang
Default View Chart of Strategy

Is it possible to view the chart of a strategy that was added directly to the "Strategies" tab?

Also, I have a strategy that requires 200 previous bars to load, but when I open a new chart, and select my instrument with:

Load data based on: Bars
Bars to load: 200
End Date: <today>

I don't get 200 previous bars showing up in the chart

I also have my broker (IB) set to "Use InteractiveBrokers Servers" under the Historical Data section in the connection options.

And I have "Get data from server (if available)" checked on under the Data tab in the Options dialog.

I'm trying to get this working for GC, I have Merge policy set to DoNotMerge (not sure if that's relevant).
Jeremytang is offline  
Reply With Quote
Old 08-11-2010, 09:29 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 JeremyTang,

You can right click on a running strategy > Strategy Performance > Select option here

This produces a similar report to the strategy analyzer where you can view a chart.

It will attempt to load the data you specify, but if not supplied by your provider then it only loads what is available. It's good to check a chart to see what's available before attempting to run the strategy.

It may be useful to check this table, which indicates the type of history available depending on the connection used.
http://www.ninjatrader-support.com/H...ricalData.html
NinjaTrader_RyanM is offline  
Reply With Quote
Old 08-11-2010, 09:49 AM   #3
Jeremytang
Senior Member
 
Join Date: Jun 2010
Location: Calgary, AB
Posts: 100
Thanks: 0
Thanked 2 times in 2 posts
Send a message via MSN to Jeremytang Send a message via Skype™ to Jeremytang
Default

Thanks for the rapid reply! Looks like I got it sorted out... One more thing, if I run into a contract expiry boundary, what's the best way to ensure that data loads from the previously expired contract into the chart?

Ie: I'm using gc 12-10 right now, and I currently have the mergeback policy set to donotmerge so I can properly backtest a continous contract on gc ##-##.
Jeremytang is offline  
Reply With Quote
Old 08-11-2010, 10:16 AM   #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

Merge policy does not apply to continuous contracts with ## - ## as expiry. These contracts are put together by a data provider.

Merge policy will apply to your GC 12-10 contract and the best way to ensure data is loaded at expiration boundries is to allow merging. Then, the prior contracts are automatically merged to the current.
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
Applying Stratgey to a chart defaults to 1 Second dataseries in Control Center MXASJ Version 7 Beta General Questions & Bug Reports 10 08-12-2010 03:55 AM
view order action on Strategy Chart? Turtle Trader Strategy Development 1 07-11-2010 06:30 PM
How to view longer time periods in a chart? Precisely Charting 2 10-16-2009 02:24 PM
customize the fabricate(F8)'s view on chart MoreYummy Charting 7 09-04-2008 11:01 AM
View Chart of replay trades ashish Historical NinjaTrader 6.5 Beta Threads 1 12-05-2007 04:13 AM


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