Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Managed Approach ATM

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

    Managed Approach ATM

    Hi,

    I was wondering if there was a way to replicate the ATM strategy with Stop Loss, Profit Trigger, and Frequency in managed approach similar to unmanaged approach? For example, let's say initial stop is at 10 ticks. After 20 ticks of profit stop moves 10 ticks and then frequency would be 2 ticks.

    Thanks

    #2
    Hello AgriTrdr,

    Yes that is possible, it just depends on your level of skill with object oriented programming. There is a strategy builder example that demonstrates the most basic way to control orders using sets, the trail example would include a tick frequency example. You could use that approach and expand on that to make it more advanced. If you needed multiple steps that sample also includes how to use a variable to control a state, that state tells the Sets which set is currently being used for the order or pricing that order.

    https://ninjatrader.com/support/foru...rategy-builder
    Last edited by NinjaTrader_Jesse; 06-21-2022, 10:34 AM.

    Comment


      #3
      Thanks Jesse for sharing the link. Is there a simpler code that I could plug into Ninjascript? This is very complex on top of my very complex strategy.

      Comment


        #4
        Hello AgriTrdr,

        That would be the most simple example using the managed approach to manage orders. That uses the strategy builder and is really the minimal amount of code to do that type of task. There are more complex examples in manual coding for both managed or unmanaged but they require more code.

        If you have an existing complex strategy then you would very likely need to revisit its logic to make changes which make sense in contrast to what it is already doing. You can't mix managed/unmanaged modes so knowing what the strategy does already would be important if you plan to implement other items like what the sample I linked shows.

        Comment


          #5
          Thank you!

          Comment

          Latest Posts

          Collapse

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