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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          63 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          35 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          54 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          61 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          48 views
          0 likes
          Last Post CarlTrading  
          Working...
          X