Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Virtual trades NT8

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

    #16
    Hello bergimax,

    You will not be able to obtain the cumulative profit from the other account.

    The strategy is not managing the orders that were placed on the other account.
    Zachary G.NinjaTrader Customer Service

    Comment


      #17
      Hi ZacharyG!
      I have another problem with the change order!

      I use this to change the order, but it doesn't work:

      if( positin == long )
      {
      ChangeOrder( stopOrder, stopOrder.Quantity, avgPrice - 1 * TickSize, avgPrice - 1 * TickSize );
      myAccount.Change( new[] { stopOrder } );
      }


      This is in OnBarUpdate(). If i put the Print("move") under myAccount.Change, in the output condition i see "move".

      I think there is something in the change order rule's that i don't understand.

      Comment


        #18
        Hello bergimax,

        Testing on my end, I am able to change the price of a stop order that was placed on the second account.

        Please take a look at the Change() method's documentation. It provides an example of how the stop price for the order is modified: http://ninjatrader.com/support/helpG...us/?change.htm
        Zachary G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        26 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        16 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        136 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X