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 volIQ, Today, 05:43 PM
    0 responses
    2 views
    0 likes
    Last Post volIQ
    by volIQ
     
    Started by afoschini, 05-18-2020, 09:03 AM
    6 responses
    865 views
    0 likes
    Last Post shodown888  
    Started by M_ichel, Yesterday, 02:21 PM
    6 responses
    37 views
    1 like
    Last Post M_ichel
    by M_ichel
     
    Started by daledg28098, Today, 03:19 AM
    2 responses
    19 views
    0 likes
    Last Post bltdavid  
    Started by Newtrader101, Today, 04:06 PM
    0 responses
    5 views
    0 likes
    Last Post Newtrader101  
    Working...
    X