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 NullPointStrategies, Today, 05:17 AM
          0 responses
          52 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          130 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          70 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          48 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X