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 1001111, Today, 09:45 AM
            0 responses
            1 view
            0 likes
            Last Post 1001111
            by 1001111
             
            Started by DTSSTS, 01-28-2024, 12:07 PM
            11 responses
            557 views
            0 likes
            Last Post bmo111
            by bmo111
             
            Started by Torontobluejays, Today, 08:43 AM
            0 responses
            1 view
            0 likes
            Last Post Torontobluejays  
            Started by sastrades, 01-31-2024, 10:19 PM
            12 responses
            193 views
            0 likes
            Last Post sastrades  
            Started by Jimmyk, 01-26-2018, 05:19 AM
            8 responses
            866 views
            0 likes
            Last Post emuns
            by emuns
             
            Working...
            X