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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X