Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EntryOrder Cancelled

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

    EntryOrder Cancelled

    Hello,

    I´m experiencing a strange behavior when running as script now with playback. The script does entries as it should but sometimes the entryorder is cancelled. I have no idea why because I have no condtion in the script to do so.

    When condition is true I have "entryOrderLr1a=EnterLongLimit(4,true,1,GetCurrent Ask(), "dtjRL1a");"

    Is there anything by default in NT that this entryorder is cancelled, eg when market moves fast and Ask() is then below currentprice or whatever?

    Thank you!
    Tony


    #2
    Hi tonynt, thanks for your question.

    Please turn on TraceOrders to see what is happening to this order during run time. Are there any details on why the order is canceled in the output window with trace orders on? If the ask price was invalid, the order would have been ignored and the strategy would have been disabled.

    I look forward to hearing from you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X