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 nicthe, Today, 09:24 AM
        1 response
        5 views
        0 likes
        Last Post nicthe
        by nicthe
         
        Started by samish18, Today, 10:13 AM
        0 responses
        4 views
        0 likes
        Last Post samish18  
        Started by kenz987, Yesterday, 10:20 AM
        2 responses
        13 views
        0 likes
        Last Post kenz987
        by kenz987
         
        Started by nicthe, 08-23-2023, 07:53 AM
        7 responses
        197 views
        0 likes
        Last Post nicthe
        by nicthe
         
        Started by stalt, 12-28-2015, 01:36 PM
        6 responses
        1,536 views
        0 likes
        Last Post giulyko00  
        Working...
        X