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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    59 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
    74 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