Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error while Using ExitLongLimit

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

    Error while Using ExitLongLimit

    If a strategy has a simple exitLonglimit where the price is some MA, and when it gets close to the MA, it will start making a market by using the exitLongLimit to cover. Essentially, the cover price moves as the SMA moves and it will only be covered if the price gets spiked,

    I get an error message saying

    "An Exit() method to submit an entry order at '7/11/2018 12:12:00 AM' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation."

    here is a sample of the cover logic

    Code:
     
    if (Position.MarketPosition == MarketPosition.Long)
    {
     
     
    while(LongPercent >= 0.60) //40% close to moving SMA
     
    {
    ExitLongLimit(SMA[0])
    }
    I looked at the order handling per the error message but could not figure out what is the problem here.

    #2
    Hello Boonfly8,

    Thank you for your note.

    Could you please send an email to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and attach the log and trace files for the day in subject which you can find in My Documents>NinjaTrader8>Log and My Documents>NinjaTrader8/Trace folders.

    I look forward to your email.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X