Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scaling out positions

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

    Scaling out positions

    Hi,

    I'm trying to build a strategy that builds up to 5 positions (Entries per direction = 5) and then holds each positions for a fixed number of bars.
    Let's say I want to hold a 2 lot short position for 10 bars, but after 3 bars a long order is triggered. My position then would go from -2 to -1, but instead NT flattens all my shorts and goes long 1 lot.
    How can I avoid that?

    #2
    stefy, to scale out you would first need to scale in - http://www.ninjatrader-support2.com/...ead.php?t=3751 to be able to scale out individual positions later.

    Comment


      #3
      I understand from your sample code that if I want to manage a position I have to split it up, but what I need is different:
      I'm entering a long position over 5 bars (each bar 1 enter long) and then I want to exit each of these positions at different bars. The problem is that when an EnterShort() condition kicks in, EnterShort() closes ALL the Long Positions. Is there any workaround? Say I'm short 5 lots and I have an EnterLong(), I'd like to become short 4 lots, not to become long 1 lot!

      Comment


        #4
        No, this is expected, as the reversing with the Enter() methods would apply to the full position if no unique order names are used. You can scale out either by defining a qty for a Exit method or by tying those together via unqiue signal names.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        627 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X