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 traderqz, Today, 12:06 AM
    6 responses
    12 views
    0 likes
    Last Post traderqz  
    Started by Skifree, Today, 03:41 AM
    3 responses
    12 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Started by traderqz, Yesterday, 09:06 AM
    5 responses
    33 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by guillembm, Today, 11:25 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by owensd, 04-21-2024, 11:34 PM
    9 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X