Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Running a strategy on a chart with multiple data series.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Running a strategy on a chart with multiple data series.

    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.
    Attached Files
    Last edited by Plaket; 03-05-2012, 11:06 AM.

    #2
    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.
    Attached Files
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      Can you give me reference code for doing that in Ninjascipt?

      Best regards,

      Comment


        #4
        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.
        Attached Files
        CameronNinjaTrader Customer Service

        Comment


          #5
          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.

          Comment


            #6
            kucharek,

            Unfortunately you cannot add a visual second data series through NinjaScript. This is a chart visual effect not available in the Strategy Analyzer.
            CameronNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            65 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            41 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            23 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            26 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            52 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X