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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          52 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          275 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X