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 proptrade13, Today, 11:06 AM
            0 responses
            1 view
            0 likes
            Last Post proptrade13  
            Started by kulwinder73, Today, 10:31 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by RookieTrader, Today, 09:37 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by terofs, Yesterday, 04:18 PM
            1 response
            24 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by CommonWhale, Today, 09:55 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Working...
            X