Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

exit syntax

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

    exit syntax

    Hello,

    I have a question concerning exit-syntax please.

    Referring to http://www.ninjatrader.com/support/h...l?exitlong.htm it is not possible to have
    exitlong(1,"exit1")
    to show which exit (which condition behind) to one of eg 3 contracts (scaling in for having the possibility to scale out).

    I know I could do exitlong(1,"exit1","entry1") or exitlong(1,"exit1","enry2") but I do not know before which exit-conditions would be true as the condtions in trading are not always in the same order

    This is not logical, maybe I do not understand, sorry.

    Thank you for your explanation.

    Best regards
    Tony
    Last edited by tonynt; 11-01-2013, 08:57 AM. Reason: typing error

    #2
    Hi Tonynt,

    There is no overload method for the ExitLong(1, "Exit1").

    You can use the ExitLong(1, " ", "entry1");

    Your exit condition will need to be tied to the entry for scaling, however you can leave the signal name for the exit order blank.

    If you plan on adjusting the exit order later in the code you will need to use a signal name for the ExitLong();
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    22 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    120 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X