Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Load Stop Strategy with ATM Strategy using script

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

    Load Stop Strategy with ATM Strategy using script

    Hi,

    It's pretty simple but I couldn't find anywhere.
    I am sending an order through this command:

    AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.StopLimit , High[0] - TickSize, High[0] - TickSize, TimeInForce.Day, orderId, "AtmStrategyTemplate", atmStrategyId);

    NT place the order with the previously configurated ATMStrategyTemplate (profit and stop) but it didnt call my STOP STRATEGY.
    Is that possible? I set everything right in DOM. Manual mode works beatiful, but via script only loads the AT.

    Thanks.
    mcosta72
    NinjaTrader Ecosystem Vendor - Quant-Wise

    #2
    Hello mcosta72,

    I created a quick video demonstrating that the stop strategy will be followed as long as it is saved with the AtmStrategy.

    Below is a link to the video.
    http://screencast.com/t/hGmqlSWtso5

    May I have a screenshot of the settings of the Atm Strategy and of the Stop Strategy?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      Thank you very much.
      I made a video too. You can see that when my strategy goes live and the order got filled, ATM Strategy works but does not load my DOM Stop Strategy.
      World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


      Please, let me know what I am missing.

      Thanks

      Marcio
      mcosta72
      NinjaTrader Ecosystem Vendor - Quant-Wise

      Comment


        #4
        Hi Marcio,

        Your video does not show your AtmStrategyTemplate as it is set up in the SuperDOM.

        Can you take screenshots or another video that shows the settings you have saved with this template?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea,

          These are my strategy parameters. I saved my <CUSTOM> Stop Strategy with different names. I've tried used several options.
          Thanks a lot.
          Attached Files
          mcosta72
          NinjaTrader Ecosystem Vendor - Quant-Wise

          Comment


            #6
            Hello mcosta72,

            In the video the stop strategy chosen is named StopLoss and the screenshot you have shown here is <Custom>.

            Only the stop strategy that is saved with the AtmStrategy will be used. What stop strategy is selected if you set the AtmStrategy to <none> and then back to AtmStrategyTemplate?

            (This will be the one saved with the Atm Strategy template)
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              That's it!
              Thank you!!
              mcosta72
              NinjaTrader Ecosystem Vendor - Quant-Wise

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              573 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              331 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              549 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              550 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X