Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Strategy question

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

    ATM Strategy question

    The very first time I tested my strategy after inserting a routine to use an ATM Strategy and on the very first trade, the target and stop showed on the DOM and I could move them around as in regular manual trading. After that it has never happened again. Why can't I see and manipulate my stops and why did it happen once and never again?
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    eDanny,

    Have you managed the ATM strategy properly in your code by emptying out your atmStrategyIds and other Ids? Please see the SampleAtmStrategy for more information.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I assume everything was right since I lifted the code right out of the sample.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        You will need to check through debugging. Use print functions to confirm.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          As in the sample and order will not be taken of the atmStrategyId.Length or orderId.Length are > 0. Printing those to the output window confirms lengths of zero while waiting for an order signal. I still never see the target and stop in the DOM and have to resort to another chart with chart trader enabled to be able to click and drag changes, which is clumsy at best.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            eDanny,

            Are you saying the orders show up on Chart Trader but not on DOM? If so, please try just using SampleAtmStrategy and see if you get the same behavior.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Tried it and it took 3 trades in quick succession but the DOM showed no stops or targets, only the chart trader did.
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #8
                Please provide reproducible steps. It works on my end with SampleAtmStrategy on both the Dynamic SuperDOM as well as Chart Trader.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  No steps taken beyond changing the AtmStrategyTemplate to the name of one of mine. Apply to chart and get the results I see.
                  eDanny
                  NinjaTrader Ecosystem Vendor - Integrity Traders

                  Comment


                    #10
                    eDanny,

                    Please use SampleAtmStrategy with no changes and an AtmStrategyTemplate that just has a 4 tick stop and 8 tick profit.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Same results.
                      eDanny
                      NinjaTrader Ecosystem Vendor - Integrity Traders

                      Comment


                        #12
                        Unfortunately all I can suggest is for you to reinstall your NinjaTrader. We are unable to reproduce on our end.
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          Ok will try that later.
                          eDanny
                          NinjaTrader Ecosystem Vendor - Integrity Traders

                          Comment


                            #14
                            OK haven't tried that yet but tried the sample strategy again with no other strategies running on any charts and this time was going to let it run it's course with a 8 tick target and 4 tick stop without just closing positions as in the last test. The DOM ATM was called AtmStrategyTemplate to be compatible with the code and was set to PT of 8 and S of 4. The strategy filled and still no target or stop bars in the DOM. I noticed that price was below my stop so I looked at a chart with chart trader and saw the target was 8 ticks but the stop was 10 ticks. I'm just not understanding what is going on here but will reinstall NT now.
                            eDanny
                            NinjaTrader Ecosystem Vendor - Integrity Traders

                            Comment


                              #15
                              I am not sure what is happening on your end eDanny. Backup your files before you uninstall.

                              1. Backup NT
                              2. Uninstall NT
                              3. Delete My Documents\NinjaTrader 6.5 (you will lose everything)
                              4. Clear internet browser cache
                              5. Reinstall NT
                              Josh P.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              601 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              347 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              103 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              559 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              558 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X