Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Check manual orders by strategy?

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

    Check manual orders by strategy?

    I think this has been asked a few times, but I couldn't find the answer quick:

    Is it possible for a strategy to know about orders placed manually via SuperDom?
    The strategy doesn't need to control them, just enumerate them.

    Thanks for the answer in advance

    #2
    Hello Zapzap,

    This would not be possible with supported features of NinjaScript.
    We do have an enhancement request for this area and will forward this to development to add your vote there.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Sure I add my vote, this is a very basic function IMHO.

      Comment


        #4
        Why not use Account property?

        Why not use this code?
        int iOrderCount = Account.Orders.Count;
        Print("Total Open Orders: " + iOrderCount );
        System.Collections.IEnumerator ListOrders = Account.Orders.GetEnumerator();
        for (int i = 0; i < iOrderCount; i++)
        {
        ListOrders.MoveNext();
        Print(" Open Orders: " + ListOrders.Current );
        }

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        47 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X