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 DannyP96, 05-18-2026, 02:38 PM
        1 response
        27 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        117 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        226 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        415 views
        0 likes
        Last Post CaptainJack  
        Working...
        X