Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to track stops/targets via AtmStrategy methods ?

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

    How to track stops/targets via AtmStrategy methods ?

    Hello NT!

    I have a strategy running on a chart that interfaces with a DOM via AtmStrategy methods.

    I would like to monitor stops/targets within the custom Strategy I've written.

    OnOrderUpdate is not viable when using AtmStrategy approach. Hence, how to monitor stops ?


    I noticed "TraceOrders" prints the information I'm looking for, to the log file.
    So there must be a system/library call to retrieve current Stop Target values.


    Thanks in advance!

    #2
    Hello,

    What version of NT are you using? This is not possible in NT6.5.
    DenNinjaTrader Customer Service

    Comment


      #3
      Thank you for your quick reply, using NinjaTrader 7.0.0.15

      Comment


        #4
        pvtrader,

        When you use ATM strategies in NinjaScript you need to use the ATM methods. OnOrderUpdate() is for NinjaScript orders only.

        Please see the help guide's index page and scroll down to see all the GetAtm...() methods. Those are the ones that would pertain to you.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh for the reply.

          Looking at ATmStrategy functionality, I don't see the ability to retrieve the current Stop/Target value of a working order, yet this information is written in the TraceOrder facility. Question comes to mind, what do they use that I can use ?

          Comment


            #6
            pvtrader,

            You would need to keep track of your stop/target prices manually in your own variables through your own code.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            67 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            36 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            59 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X