Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLong not executed

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

    EnterLong not executed

    Hi,

    EnterLong just stopped working ... I can see in logs that Order is being created&filled but does not show in Orders/Positions tab. Any ideas? (Running on continuum demo connection)

    Many Thanks


    #2
    Hello Josef Neuschl,

    Thank you for your note.

    When you aren't seeing orders placed as you would expect, the The first thing I would recommend would be to turn on the Order Trace function:

    Strategy Builder > Default Properties > More Properties > Trace Orders, or:

    if (State == State.SetDefaults)
    {
    TraceOrders = true;
    }

    Once you then recompile the strategy, you can open a new NinjaScript Output window under New > NinjaScript Output. This will print a log of any orders submitted by the strategy during while it's running, along with any ignored orders. You can then look through and see what may be occurring.

    Here is a link to our help guide that goes into more detail on tracing orders:

    https://ninjatrader.com/support/help...aceorders2.htm

    That being said, it looks like you're only a few bars into processing here going off your prints. That's likely on historical data then, so that would be a historical order and would not actually be submitted live, as it's simply what the strategy has calculated it would have taken if the strategy had been running at that time. We can confirm it's a historical order by the order number - that NT-00000-14 number is in the format used for historical orders. Historical orders are not placed on your account and would not show on the Orders/Positions tabs.

    Can you confirm if you can see an entry on the chart if you scroll back over the historical data?

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Hi yes, and also it was exited on session close as expected.

      Many Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      61 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      134 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      75 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      50 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X