Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with strategy based on Simulated stop

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

    Need help with strategy based on Simulated stop

    Hello,
    I am in the process of building an ATM strategy ( either dom or chart based) to achieve this functionality.
    This is more around - Simulated Stop strategy in NT
    Requirements;
    - When a specific price is reached, it should trigger the following events
    1 contract - It should be purchased at the trigger price
    Stop - 15 ticks(from the entry price)
    1 contract - This should be purchased at trigger price - 5 ticks
    Stop - 10 ticks(from the entry price)
    2 contracts - This should be purchased at trigger price - 10 ticks
    stop - 5 ticks from the entry price

    Targets;
    - If position = 1 contract - Move the stop to BE on +5 ticks
    - If position = 2 contracts - Sell contract 1 at +5 ticks, move the second position to BE
    - If position = 4 contracts - sell 2 contracts at +5 ticks, move the 2 to BE

    Would it be possible to achieve this functionality from NT? If so, would you please help me build this strategy.
    PS: Doesn't really matter if it can be fired from Chart or DOM.

    I am little bit familiar with the programming language and if there are any pointers to achieve this, I should be able to pick it up as well.

    Thanks in advance!!

    #2
    Hello:

    Thank you for making your first post and joining the Support Forum.

    I may need some clarification on your ATM Strategy.

    As you have stated...
    1 contract - It should be purchased at the trigger price
    Stop - 15 ticks(from the entry price)
    1 contract - This should be purchased at trigger price - 5 ticks
    Stop - 10 ticks(from the entry price)
    2 contracts - This should be purchased at trigger price - 10 ticks
    stop - 5 ticks from the entry price

    What is your initial profit target for these contracts?

    Also, you must have your stop loss value for Target 1 must be less than your stop loss value for Target 2.

    More information can be found in the help guide at the link below:


    Also, I encourage you to attend our free webinar session tomorrow at Noon US Eastern time covering ATM Strategies. I will be presenting in the room and would be happy to go over this specific example with you. You may attend at the link below:


    Best regards,
    RyanNinjaTrader Customer Service

    Comment


      #3
      Ryan - Thanks for the reply.

      My initial targets are listed in the original thread itself. They are basically dependent on the "current position" in the market.

      Thanks.

      Targets;
      - If position = 1 contract - Move the stop to BE on +5 ticks
      - If position = 2 contracts - Sell contract 1 at +5 ticks, move the second position to BE
      - If position = 4 contracts - sell 2 contracts at +5 ticks, move the 2 to BE

      Comment


        #4
        To clarify further:

        Though it is initiating the simulated stop orders, there is no guarantee that the rest of the contracts are going to be filled. But it is guaranteed that the first order(for 1 contract) is going to be filled as it is filled at market.

        For the target price, it should be determied based on whether there are further fills from other subsequent orders( triggered from the first Simulated Stop order) and should determine the target prices accordingly.

        Thanks.

        Comment


          #5
          Hi:

          Thank you for the clarification.

          It is possible to accomplish entering a position using a simulated stop order and then have your profit targets and stop losses placed on screen.

          However, with your stops and limits, you must set your initial stop loss for your first target to a value less than your second stop loss value.

          Therefore, the specs for your strategy that you sent originally are invalid, meaning you will receive an error if you enter a stop loss value of 15 on your first target and a stop loss of 10 on the second target, that is not possible.

          Also, please clarify your profit targets for your first and third targets. What price do you wish to receive a fill for these targets?
          RyanNinjaTrader Customer Service

          Comment


            #6
            Let me clarify further on this.

            Let's say I have a simulated stop order at price 800 even.

            Contract 1 - should be purchased at 800.0
            Stop : 708.5 ( 15 ticks from the entry price)

            Contract 2 - Should be purchased at 709.5 ( 5 ticks from the first trigger price)
            Stop: 708.5

            contract 3&4: Should be purchased at 709 ( 10 ticks from the first trigger price)
            Stop; 708.5

            Now comes the target portion:
            - It is same as I have mentioned. The targets should be decided based on the current market position. If my current market position is only 1 contract, it should just move to BE on entry price+5 ticks
            - If the current position is 2, it should sell 1 contract at 800.5 and move the second one to 800( First simulater order)
            - If the current position is 4, it should sell 2 contract at 800.5 and move the rest 2 contracts to 800( trigger price).

            Hope this clarifies.

            Comment


              #7
              Unfortunately it is not possible to trigger multiple entry orders at various price levels using our ATM technology. It is possible to program this as a NinjaScript strategy but that will require some programming knowledge.
              RayNinjaTrader Customer Service

              Comment


                #8
                Thx Ray. Would you please point me to any docs on such(similar strategies) using Ninja Scripts which I can use to figure it out.

                Anyone else out there who might have built similar strategies in NT?

                Comment


                  #9
                  Hi vking,

                  You can start off by reviewing the SampleAtmStrategy already included in your NinjaTrader. It is in the Strategy category.

                  In order to understand how the ATM strategy is called and used within NinjaScript these following documents will help: http://www.ninjatrader-support.com/H...trategies.html


                  There are a bunch of other ATM strategy related properties and methods you should become familiar with in the Help Guide. You can find the list in the Index of the Help Guide. Most of the properties/methods start with AtmStrategy...() or GetAtmStrategy...().

                  Good luck.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Thx Josh. Appreciate it. Would go through them.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    104 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    52 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    34 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    38 views
                    0 likes
                    Last Post TheRealMorford  
                    Started by Mindset, 02-28-2026, 06:16 AM
                    0 responses
                    74 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Working...
                    X