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

Handling of Limit Orders

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

    Handling of Limit Orders

    Hello,

    I know how I can work with stop and targets in onexecution and onorderupdate with IOrders. But how can I grab targets and stops from an ATM, what is the "name" of them to catch in onOrderupdate please?

    And how can I grab and work with limits when not used as IOrders like entryOrderkLa=EnterLongLimit(...............) which I was using untill few days ago. Now I want to work with a limit from an ATM called by a script strategy and I want to move the limit after its working. How can I grab it please?

    Thank you!
    Tony

    #2
    Hello Tony,

    These orders can be found with the SignalName of the order that appears on the Orders tab of the Control Center.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      thank you for your reply. But in an ATM are usually more than one stop or target. How can I access stop1, stop2.... target1, target2...?

      And what is the "name" of the entry-limit order? I can not assign a name to the limit.

      Thanks
      Tony

      Comment


        #4
        Hello Tony,

        If you are not using Atm Strategy methods, then the Stop loss will always be "Stop loss".

        If you are using Atm Strategy methods, then you would still reference this with the SignalName of the order as it appears in the Orders tab (for example "Stop2").
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello Chelsea,

          thank you for your reply. Clear now with stops and targets.

          But what about the entrylimitorder? How to reference the entrylimitorder from an ATM?

          Thank you
          Tony

          Comment


            #6
            Hello Tony,

            Below is a link to the help guide on Atm Strategy Methods.


            As well as a direct link to GetAtmStrategyEntryOrderStatus().


            Use the id you have generated to find the Atm, and use GetAtmStrategyEntryOrderStatus() to find information about the entry.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by sidlercom80, 10-28-2023, 08:49 AM
            166 responses
            2,233 views
            0 likes
            Last Post sidlercom80  
            Started by thread, Yesterday, 11:58 PM
            0 responses
            1 view
            0 likes
            Last Post thread
            by thread
             
            Started by jclose, Yesterday, 09:37 PM
            0 responses
            6 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,414 views
            0 likes
            Last Post Traderontheroad  
            Started by firefoxforum12, Yesterday, 08:53 PM
            0 responses
            11 views
            0 likes
            Last Post firefoxforum12  
            Working...
            X