Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

checking if order is filled

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

    checking if order is filled

    How could I check if a order is filled? for instance:

    if (orderfilled)
    {
    Print("something");
    }

    #2
    Hi cornelius,

    you can use the IOrder method for that purpose.

    Please refere this link from our help guide - http://www.ninjatrader-support.com/H...V6/IOrder.html

    In the OnBarUpdate() you would define -

    Code:
    entryOrder = EntryLong();
     
    if (entryOrder != null)
         Print(entryOrder.Filled);

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    86 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X