Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to build trailstop?

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

    how to build trailstop?

    hi! with NT it's manually possible to link a stop as a trail stop with an EMA (for example).
    result: with each move of EMA the trail stop will be adapted.
    as far as i know, this cannot be done automatically with an ATM.
    it it possible to program this (in a way that this type of trail stop is used automatically for an order) ?
    and if so, how do i proceed?
    thx

    #2
    Hello Tradexxx,

    Thanks for your post.

    As you have observed you can manually attach an order to an indicator.

    When you apply an ATM, and the orders are on the chart you can also assign the orders(s) to an indicator. Still a manual process but wanted to be clear that with an ATM you can still assign the ATMs orders to an indicator.

    If I understand correctly, you want to preconfigure the ATM orders to indicators before applying the ATM so that as the entry order fills, the stop/target are automatically applied to those indicators. There is a feature request for this identified as "SFT-2719 Configure ATM's stop loss to trail an indicator", we will add your vote to that feature request. To be clear a feature request does not mean that it will be implemented but does keep user requests in front of program management for consideration of implementation. If implemented in a future realease it will be noted in the "release notes" in the help guide for the version it is first released in. For your convenience here is a link to the release notes: https://ninjatrader.com/support/help.../?8_0_20_1.htm

    Otherwise, today, the approach would be to actually create a strategy, using the strategy builder or Ninjascript strategy. This approach would require the strategy to make the entry and then it can be coded to assign the stop order (and or profit order) to the specified indicator(s).

    Comment


      #3
      Hi Paul, thank you for the info!
      ["This approach would require the strategy to make the entry and then it can be coded to assign the stop order (and or profit order) to the specified indicator(s)."]
      as far as i know: it's not possible to tell the strategy builder to start a strategy when you push a "button" for example, or?

      Comment


        #4
        Hello Tradexxx,

        Thanks for your reply.

        Correct, you would need to apply the strategy to the chart.

        It is possible, not with strategy builder but it is with a Ninjascript coded strategy, to have buttons on the chart which could be programmed to place manual entry orders and when filled your strategy can then assign the stop to the specified indicator. This would be a more advanced programming approach but can be done. If you would like a strategy created for you, we can provide a link to 3rd party programmers who can provide that service through the NinjaTrader Ecosystem.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        651 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X