Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Multiple limit orders, how?

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

    Multiple limit orders, how?

    like:

    IOFirst = EnterLongLimit(0, true, DefaultQuantity, Close[0] - 10, "");
    IOSecond = EnterLongLimit(0, true, DefaultQuantity, Close[0] - 20, "");

    Only the latest one will remain. !

    And even better if you could add some other ones to opposite direction via EnterShortLimit but is that absolutely impossible?

    (NT7)

    #2
    raffu, since you're reusing the signal name it would just update the order then, please use different signal names and both orders should be present.

    Correct, if you're try placing opposing, bracket type orders the Internal order handling rules of the managed approach would 'catch' those attempt, you would need to work with TraceOrders = true in Initialize() to see that happening (open output window as well then).



    NT7 now offers also a new, unmanaged order submission mode - this would allow such approaches without any order handling rules here active - http://www.ninjatrader.com/support/h...d_approach.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Ok Thanks,

      and that TraceOrders was very usefull, the property "EntriesPerDirection" needed to be changed as well..

      Comment


        #4
        You're welcome and correct, or working on unique entry order handling...
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by inanazsocial, Today, 01:15 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by rocketman7, Today, 02:12 AM
        0 responses
        10 views
        0 likes
        Last Post rocketman7  
        Started by dustydbayer, Today, 01:59 AM
        0 responses
        2 views
        0 likes
        Last Post dustydbayer  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        23 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Working...
        X