Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Grouping trades together

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

    Grouping trades together

    I am working with unmanaged orders. I was under the impression that if I gave an entry and exit order the same SignalName, that the trade summary (after running a backtest eg) would group them together. But that does not seem to be the case.

    I managed to replicate this in a very simple example (see screenshots)

    In the below example, I created 2 groups of 3 orders each with an entry, a target and a stop.

    group1:
    - entry order: buy
    - target sell order
    - stop sell order

    group2:
    - entry order: sell
    - target buy order
    - stop buy order

    I keep track of the target/buy and when one is filled, cancel the other (not using the oco, but rather replicating it in my code) - you can see from the orders that that worked as desired.

    I was hoping to see the Entry name and exit name matched to give me the trade details.

    Is there a way of forcing this? Otherwise, I have to export all executions and match them myself. But then i miss some of the interesting details and I cannot use the backtest chart for analysis.


    Click image for larger version

Name:	image.png
Views:	159
Size:	22.8 KB
ID:	1219298Click image for larger version

Name:	image.png
Views:	107
Size:	15.5 KB
ID:	1219299

    #2
    Hello crystalet,

    The fromEntrySignal, to connect an exit to a specific entry, only works with the managed approach.

    There is no way of forcing this.

    Trade pairing in the Strategy Performance window is based on First In First Out.
    https://ninjatrader.com/support/help...tegyFromAChart
    Last edited by NinjaTrader_ChelseaB; 10-13-2022, 11:26 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thats unfortunate - well, I can always run the analysis outside of NT then.

      On that note, is there a way to access the second output screen for printing to screen?

      Comment


        #4
        Hello crystalet,

        Set PrintTo to PrintTo.OutputTab2.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X