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-24-2009, 08:56 PM   #1
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Historical data missing from automated chart

I have connected TradeStation and have applied my strategy to a EURUSD 30 minute chart. The strategy name is listed on the chart and there are two bars showing. Apparently, historical data is missing. Also, the height of the two bars fills the entire chart from top to bottom.

How can I add historical data?

How can I compress the vertical size of the bars?
skat100 is offline  
Reply With Quote
Old 05-25-2009, 04:22 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
Default

skat100, please use this link's info to import historical data from TradeStation - http://www.ninjatrader-support.com/H...ownloader.html

To change the Y axis scale, just drag it with the mouse and move it.

http://www.ninjatrader-support.com/H...ingAChart.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-25-2009, 10:54 AM   #3
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Historical Data

I followed all the "Import Historical Data from TradeStation" directions to the end but can find no historical data. It's not on the chart.

How can I trace what happened?
skat100 is offline  
Reply With Quote
Old 05-25-2009, 12:02 PM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
Default

Try exporting the data for the symbol under Tools > Historical Data > Export - this way you can verify it imported well. For which symbol did you try this process? Did you spot any errors in the Log tab?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-25-2009, 02:45 PM   #5
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Historical Data

The symbol is EURUSD. I tried to export as you suggested but the symbol doesn't show up and the chart is not updating, although it indicates that the strategy is applied.

I have tried to duplicate the entire process of importing from TradeStation but the very first step: Connect to the "External Data Feed Connection" can't be done because External Data Feed Connection is greyed out.
skat100 is offline  
Reply With Quote
Old 05-25-2009, 02:52 PM   #6
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Log Message

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
Try exporting the data for the symbol under Tools > Historical Data > Export - this way you can verify it imported well. For which symbol did you try this process? Did you spot any errors in the Log tab?
Response #2: The log tab shows:

Starting NinjaScript strategy “LinRegX/5d28177407cal5aa69358f236875249b” On starting a real=time strategy** StrategySync=SubmitLive EntryHandling=AllEntries
skat100 is offline  
Reply With Quote
Old 05-26-2009, 07:39 AM   #7
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
Default

Thanks for the replies. Getting realtime and historical data are two separate steps. First of all please only connect to the External Feed in NinjaTrader and then insert the External Feed TS strategy on the EURUSD chart there and make sure the status is turned on. Then check your NinjaTrader Control Center if you can receive realtime data for the EURUSD. For the historical data import, please make sure you export the data from a 1 min chart in TS - http://www.ninjatrader-support.com/H...ownloader.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 05-29-2009, 01:53 PM   #8
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Open old chart

Thanks for your help.

I am now trying to get back to the chart I had that contained my strategy and seemed to be updating prices but was not showing strategy trades. Do I have to open a new chart? I don't seem to find any way to access my existing chart.
skat100 is offline  
Reply With Quote
Old 05-29-2009, 02:06 PM   #9
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

You should be able to see strategy trades on a chart if you add the strategy directly onto the chart provided the Chart Properties' "Trade Visualization" is not set to "DoNotPlot".
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-29-2009, 02:18 PM   #10
skat100
Senior Member
 
Join Date: Sep 2008
Location: Old Lyme, CT
Posts: 108
Thanks: 0
Thanked 0 times in 0 posts
Default Trade Execution Lines

Thanks for your help.

I now have the chart open and it shows trades but does not show the execution lines colored for profitable or losing. In Properties, execution lines are set to be shown.
skat100 is offline  
Reply With Quote
Old 05-29-2009, 02:21 PM   #11
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

skat100,

Is this a chart that has the strategy running on it or is it just another chart of the same instrument? If the latter, it will not have the lines.
NinjaTrader_Josh 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
Historical tick data missing / Zenfire feed dosh1965 Miscellaneous Support 6 04-03-2009 01:51 PM
Historical data missing tradervick Miscellaneous Support 4 03-27-2009 04:58 PM
TD Ameritrade Missing daily historical data scjohn Connecting 22 02-10-2009 07:32 AM
Historical FX data missing stefy Strategy Development 1 07-23-2008 09:09 AM
Missing Historical Data Starting at 13:00 crazyhorse2393 Charting 6 09-14-2007 10:24 PM


All times are GMT -6. The time now is 09:07 PM.