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 PaulMohn, Today, 05:00 AM
    0 responses
    6 views
    0 likes
    Last Post PaulMohn  
    Started by ZenCortexAuCost, Today, 04:24 AM
    0 responses
    6 views
    0 likes
    Last Post ZenCortexAuCost  
    Started by ZenCortexAuCost, Today, 04:22 AM
    0 responses
    3 views
    0 likes
    Last Post ZenCortexAuCost  
    Started by SantoshXX, Today, 03:09 AM
    0 responses
    16 views
    0 likes
    Last Post SantoshXX  
    Started by DanielTynera, Today, 01:14 AM
    0 responses
    5 views
    0 likes
    Last Post DanielTynera  
    Working...
    X