Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy 4 futures once, sell at different prices

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

    Buy 4 futures once, sell at different prices

    I'm programming a strategy that buys or sells 4 futures in one order, but a want to sell/buy them one by one on different profit levels. I can only close complete positions in one. So how can i program orders for just one futere instead opf the complete position?

    #2
    Hi Webhalla,

    Its not completely clear to me what you want to do. Would you mind providing a more eloborate explanation?
    RayNinjaTrader Customer Service

    Comment


      #3
      For example: my system buys 4 futures in one trade, but it wants to sell 1 with 100$ profit, 1 at 150$ profit, 1 at 200$ profit and the last one with 300$ profit.

      Comment


        #4
        Just specific the order size amount (such as 1) in any of the Exit() methods such as ExitLong(). You of course would need to code the condition for when you call this method.
        RayNinjaTrader Customer Service

        Comment


          #5
          Ok, i tried, and it works

          Comment

          Latest Posts

          Collapse

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