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).
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,967 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    4 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    55 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    6 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    8 views
    0 likes
    Last Post lightsun47  
    Working...
    X