Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entries & Exits Problem

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

    Entries & Exits Problem

    i have a big problem understanding how NT handling Entries and Exits!

    i know that NT will not take long & short at the same bar, but look at below

    for example:
    Example1:
    if (true)
    {
    EnterShortLimit(0,false,100,sellp,"Short");
    ExitShortLimit(buyp,"ExitS");
    }

    Example2:
    if (true)
    {
    EnterShortLimit(0,false,100,sellp,"Short");
    EnterLongLimit(0,false,100,buyp,"Long");
    }

    both examples will enter short, but example 1, will exit @ buyp limit, and example 2 should exit & reverse @ buyp limit.

    What actually happens when i run both is that, Example 2 initiate a short limit, and later on exit the position & enter long @ buyp limit.
    but in Example 1, i am running the same chart, i dont see the system exiting at the point where in example 2 exited and entered long.

    any clarification why such thing is happening??

    thanks.

    #2
    Hello, in your example1 you're not tyeing the signal names correctly together, try : ExitShortLimit(buyp, "ExitShort", "Short").

    When working with non market orders in the managed approach you also have to aware of the internal handling rules used :

    http://www.ninjatrader.com/support/h...d_approach.htm (botton section here).

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    76 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    26 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X