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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X