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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        70 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        78 views
        0 likes
        Last Post PaulMohn  
        Working...
        X