![]() |
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2010
Posts: 34
Thanks: 2
Thanked 0 times in 0 posts
|
Hi,
I have a problem when I try running a strategy on a chart with multiple data series. On the next example (you can see the screenshot) I open two FGBL charts. The first is a 5 min chat, and the second one is a 15 min chart. I need running a strategy on the 5 min chart and another strategy on the 15 min chart. The problem is that I can only see the trades (arrows and entry and exit prices) on the first chart, however, I would need to watch each strategy on the corresponding chart. Please, can I do something to solve this? Thanks a lot in advance.
Last edited by Plaket; 03-05-2012 at 10:06 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
|
Plaket,
Thanks for your note. Unfortunately the orders are only plotted to the main data series panel. You can however overlay the bars. I have attached a sample workspace to show you how to do this. Please unzip it and put the XML file in My Documents / NinjaTrader 7 / workspaces, you can then load it using File > Open Workspace.
Adam P.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2011
Location: Warsaw, Poland
Posts: 105
Thanks: 30
Thanked 3 times in 3 posts
|
Hi,
Can you give me reference code for doing that in Ninjascipt? Best regards, |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Aug 2010
Location: Denver, CO
Posts: 954
Thanks: 52
Thanked 85 times in 82 posts
|
Hello kucharek,
Thank you for your post. Unfortunately, the plotting of executions are only displayed on the main data series. As Adam stated, if you wanted to view the plotting of the executions on both data series, you can use the Overlay function in the Data Series window. Please see my attached screen shot for an example.
Cameron
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Nov 2011
Location: Warsaw, Poland
Posts: 105
Thanks: 30
Thanked 3 times in 3 posts
|
I understand.
I just want to generate such or similar view in backtest. Most important to me is to generate a chart in backtest with two data series - can be one below another. I do not know what ninjascript code is suitable for adding second data series to a chart. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Aug 2010
Location: Denver, CO
Posts: 954
Thanks: 52
Thanked 85 times in 82 posts
|
kucharek,
Unfortunately you cannot add a visual second data series through NinjaScript. This is a chart visual effect not available in the Strategy Analyzer.
Cameron
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple Data Series with different Indicator Input series | marotom | General Programming | 5 | 01-06-2011 12:11 PM |
| strategy data series vs chart datas series issue | azuul | Suggestions And Feedback | 2 | 12-17-2010 09:00 AM |
| Multiple same data series in same chart | pimind | Suggestions And Feedback | 1 | 10-26-2010 09:55 AM |
| Chart scrolling with multiple data series | MikeInMA | Version 7 Beta General Questions & Bug Reports | 2 | 09-21-2010 04:56 AM |
| Update frequency of multiple data series in a Strategy | ThePatientOne | Strategy Development | 1 | 05-02-2007 10:05 AM |