Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Breakeven Strategy

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

    ATM Breakeven Strategy

    What I'm trying to do is...

    Upon entering 2 contracts, I want to...

    1) Set Stop @ 100 ticks, 2 contracts
    2) Set Profit Target 1 @ 200 ticks, 1 contract
    3) Set Profit Target 2 @ 400 ticks, 1 contract
    4) Upon reaching Profit Target 1 @ 200 ticks, sell 1 Contract, move Stop on remaining 1 contract to -1 Tick​

    Here's what I've tried. What setting(s) need to be changed?
    Click image for larger version  Name:	nt-atm.jpg Views:	0 Size:	32.2 KB ID:	1289200

    Click image for larger version  Name:	nt-atm-stop-strategy.jpg Views:	0 Size:	23.4 KB ID:	1289201
    Last edited by sastrades; 01-31-2024, 10:28 PM.

    #2
    Hello sastrades,

    Thank you very much for your post.

    Based on your screenshots and description, the only necessary change would be to switch the Stop Strategy from being on Target 1 to Target 2.

    At the current time, NinjaTrader would attempt to change the Stop Loss at 200 ticks of profit. However, at this time the stop loss would also fill, resulting in the order never being modified.

    By setting the same Stop Strategy on Target 2, the ATM strategy should then behave as intended.

    Please don't hesitate to let me know, should you have any further questions!
    Manfred F.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Manfred View Post
      Based on your screenshots and description, the only necessary change would be to switch the Stop Strategy from being on Target 1 to Target 2.

      At the current time, NinjaTrader would attempt to change the Stop Loss at 200 ticks of profit. However, at this time the stop loss would also fill, resulting in the order never being modified.

      By setting the same Stop Strategy on Target 2, the ATM strategy should then behave as intended.
      This doesn't seem to work.
      Is the 'Custom Stop strategy' to replace Stop loss & Profit in Target 2? If yes, that is not occurring... I get 2x of Stops and Target orders set.


      Click image for larger version

Name:	nt-atm.jpg
Views:	117
Size:	31.5 KB
ID:	1289900
      Click image for larger version

Name:	nt-atm-stop-strategy.jpg
Views:	105
Size:	21.8 KB
ID:	1289901

      Comment


        #4
        Hello sastrades,

        Thank you very much for your reply.

        The Stop Strategy only affects the Stop Loss. The Profit Target would not be modified.

        Taking the above strategy as an example, it would submit four orders. Two Stop Loss orders at 8 ticks and two Profit Target orders at 4 and 24 ticks.

        At 4 ticks of profit, the Stop Loss of Target 2 would then be moved to breakeven -1. This only occurs once.

        If you would like the Stop Loss to trail behind the market price, please use the Auto Trail feature instead.

        You may also find a demonstration of how this behaves in our ATM Video Guide below:



        Please don't hesitate to let me know, should you have any further questions!
        Manfred F.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Manfred View Post
          Taking the above strategy as an example, it would submit four orders. Two Stop Loss orders at 8 ticks and two Profit Target orders at 4 and 24 ticks.

          At 4 ticks of profit, the Stop Loss of Target 2 would then be moved to breakeven -1. This only occurs once.
          I discovered, this ATM improperly executes sporadically. Why is this?

          At times, when Target 1 is reached, 1 contract is Sold; I will still have 4 total orders w/ 1 contract each...

          Stop Loss @ 1
          Stop Loss @ 8
          Profit Target @ 4
          Profit Target @ 8

          Comment


            #6
            Hello sastrades,

            Could you send us your log & trace files? Please also include the date/time this occurred or the Order ID of one of the affected orders, we can then take a closer look at what happened.

            You can do this by going to the Control Center -> Help -> Email Support

            Please select "Platform Technical Support" as the recipient and enter a brief note in the message referring to this post.

            Thank you in advance, I look forward to your email!​
            Manfred F.NinjaTrader Customer Service

            Comment


              #7
              I may have figured it out. I believe this occurs only when I move my stop before Profit Target 1 is hit.
              If so, I don't understand... Is this to say the ATM will not auto adjust?
              This means I need to either adjust the ATM before executing a trade, or create and apply various ATM's?​

              Comment


                #8
                Hello sastrades,

                Moving any of the orders should not affect the ATM strategy itself. It might delay an auto close or auto trail, as the ATM strategy would not lower the Stop Loss if a higher profit was already locked in.

                E.g. if an Auto Trail is running, and the Stop Loss is moved 10 ticks closer to the market, the Auto Trail would pause until this distance is covered, before continuing the Auto Trail.

                If this does not work as expected, please send me your log & trace files and I can best assist you further.

                You can do this by going to the Control Center -> Help -> Email Support

                Please select "Platform Technical Support" as the recipient and enter a brief note in the message referring to this post.

                Thank you in advance, I look forward to your reply!​
                Manfred F.NinjaTrader Customer Service

                Comment


                  #9
                  I have another, similar inquiry, thought to use same post...

                  I want to create an ATM that...

                  1) sets initial TP @ 8-ticks
                  2) once the first TP is met, I want to set BE stop at 6-ticks

                  The only way I could see doing this is w/ setting an offset of 6 ticks. However, the trade keeps stopping out at the 6-ticks and doesn't make it to the 8-tick initial TP. What do I have wrong here?

                  Click image for larger version

Name:	atm-strat-1.jpg
Views:	17
Size:	32.1 KB
ID:	1299631
                  Click image for larger version

Name:	atm-strat-2.jpg
Views:	19
Size:	19.9 KB
ID:	1299632
                  Attached Files

                  Comment


                    #10
                    Hello sastrades,

                    Based on these screenshots, the ATM strategy would be set up correctly.

                    Is it possible that the Stop Loss being set to 2 ticks behind the market when the BE triggers is putting it too close to the current price?

                    This could cause it to be triggered if the market receives an order that is 2 ticks below the current market price.

                    Do you also experience this if the BE triggers at a profit trigger of e.g. 10 or 12?

                    Thank you in advance, I look forward to your reply!
                    Manfred F.NinjaTrader Customer Service

                    Comment


                      #11
                      I actually did test it with a higher TP, and no, the TP was executed first. I understand slippage, etc., but it's still odd the stop would be triggered before the TP, regardless. Thanks.

                      Comment


                        #12
                        Hello sastrades,

                        Thank you very much for your reply.

                        As the Stop Loss is submitted as a market order, it would execute the moment the market touches this price. As a 2-tick drop is unfortunately not uncommon, I suspect this might have triggered the Stop Loss prematurely.

                        The Profit Target, on the other hand, is submitted as a limit order. This means it will only execute if it can fill at your selected price or better. This can lead to a market order executing, while a limit order at the same value does not.

                        I hope this explains what occurred, please don't hesitate to let me know, should you have any further questions!
                        Manfred F.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by fx.practic, 10-15-2013, 12:53 AM
                        5 responses
                        5,403 views
                        0 likes
                        Last Post Bidder
                        by Bidder
                         
                        Started by Shai Samuel, 07-02-2022, 02:46 PM
                        4 responses
                        94 views
                        0 likes
                        Last Post Bidder
                        by Bidder
                         
                        Started by DJ888, Yesterday, 10:57 PM
                        0 responses
                        6 views
                        0 likes
                        Last Post DJ888
                        by DJ888
                         
                        Started by MacDad, 02-25-2024, 11:48 PM
                        7 responses
                        158 views
                        0 likes
                        Last Post loganjarosz123  
                        Started by Belfortbucks, Yesterday, 09:29 PM
                        0 responses
                        8 views
                        0 likes
                        Last Post Belfortbucks  
                        Working...
                        X