Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multipositions.

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

    Multipositions.

    Hi,
    I am developing Forex strategies and I want to know if it is possible to have opened more than one position simultaneously. I am not thinking about hedging, I would like to have, for example, several buy positions open at the same time.
    Once the first buy order is filled, and while the position is open, I can not send the second one.

    Thanks.

    #2
    Check your "Entries per direction" setting in the Strategy Order Handling.
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    Comment


      #3
      Thank you very much Whitmark. Your replay has been very useful for me. It has opened my eyes about all these properties, that I never used.
      I just used those for default.
      Now, I have one more question.
      How can I track each open position, when open more than one (in the same market and in the same timeframe)?
      Because with Position.MarketPosition I can not see every position individually.
      I suppose that with "Trade" and "Performance" objects it would be possible. but, does exist a simpler way to do that?

      Thanks again.

      Comment


        #4
        Hello,

        You can use Positions, Position.MarketPosition and/or IOrder. Here are some links that will help:

        The OnOrderUpdate() and OnExecution() methods are reserved for experienced programmers. Instead of using Set() methods to submit stop-loss and profit target orders, you can submit and update them manually through the use of IOrder and IExecution objects in the OnOrderUpdate() and OnExecution() methods. The OnOrderUpdate()
        DenNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        68 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        54 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X